Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2009, 05:27 PM
baroim baroim is offline
Junior Member
 
Join Date: Sep 2009
Posts: 15
Default Performing random tasks

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.
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 09:25 AM
TylerMitton TylerMitton is online now
Senior Member
 
Join Date: Nov 2009
Posts: 102
Default

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
Reply With Quote
  #3 (permalink)  
Old 12-08-2009, 10:26 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

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.
Attached Files
File Type: zip Sample.zip (1.7 KB, 0 views)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 03:13 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved