Automation Anywhere - Loop Command
Automation Anywhere |
Loop Command
This command is use to create automate repetitive logic in your TaskBot/MetaBotSub-commands
- Times - This command is use to loop for a number of timers. For Example, if you want to repeat the action 10 times, place the actions between Start Loop and End Loop commands and specify 10.
Times - List - This command is use to work with List value.
List - Condition - This command is use to run actions based on conditions that are available in Condition's List.
Note - You cannot include both 'Match Any' and 'Match All'. you are required to specify them separately.Condition - Each Row in an Excel Dataset - This command is use in conjunction with the Get Multiple Cells sub-command of the Excel command. The rows and columns of the range are stored in the system variable '$Excel Column$'.
Each row in an Excel dataset - Each Row in an Internet Explorer Table - This command is use in conjunction with the Extract Table sub-command of the Web Recorder command. The rows and columns of the table are stored in the system variable '$Table Column$'.
Each row in an Internet Explorer Table - Each Row in an SQL Query Dataset - This command is use in conjunction with the Dataset commands. The result set of the query is stored in the system variable '$Dataset Column$'.
Each row in a SQL query dataset - Each File in a Folder - This command is use to perform an action on all files in a folder.
System variable associated with this commands are: - Each Folder in a Folder - This command is use to perform an action on one or more folders. To access the folder name within the loop, use the system variable '$FolderName$'.
Each folder in a folder - Each Row in a CSV/Text File - This is command is use to loop through each row in a CSV or text file. To get the value from CSV/Text, use system variable '$Filedata Column$'.
Each row in a CSV/Text file - Each Email Message on Server - This command is use to perform an action on each message that resides on your mail server.
Each email message on server - Each Node in an XML Dataset - This command is use to loop through each node of an XML data set.
Each node in an XML dataset - End Loop - This command is use to end the loop.
- Exit Loop - This command is use to break out from a loop when a particular action or condition occurs.
- Continue - This command is use to continue the next iteration of a loop when a particular action or condition occurs. When a Continue Loop command is reached, the commands up to End Loop are skipped and the next iteration of the loop is run.
No comments:
Post a Comment