![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hello all, hopefuly this post wont go AWOL again. I've been trying to ask in this forum of a way to perform random tasks. Say i have 10 different tasks, is it possible to do a series of workflow where each doing different task randomly between task1 to task10..? Almost like picking 10 different balls from a box. And would it be possible to control which task will be performed via a task list (excel based for example) i.e: - start - task1 - end (randomly picked) - start - task6 - end (randomly picked) Thank you. |
| |||
|
Not sure if I fully understand... but I would think you could create a variable that starts as a random number between 1 and 10. Then depending on the value of that variable (using a series of if/else statement), you could run the corresponding task. Then each time you run that task, a new random number will be assigned to the variable (I'm assuming that's how the "random" feature works on variables) and it will run the associated task. If you want to do it say 15 times, just create a parent task and loop through running the child task each time... or just schedule the single task to run on it's own. Hope that helps! Tyler |
| |||
|
Hello, What you can do is, create an excel file and list the number of tasks that you need to pick or run randomly. Then use Excel commands to pick the task from list and run it using RUN Task command. We have attached a sample task for your reference. To run this task, . Please copy .atmn under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. . Copy .xls under C:\. Note: You need to edit the excel file to list the name of tasks you need to run randomly. Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |