Loop
The Loop action A feature that supplies the instructions in a botflow. instructs the loop to repeat a specific set of actions a certain number of times.
For each Loop action created or deleted, a corresponding End Loop action is also created or deleted.
Using the Loop action, you can:
-
Set the exact number of times to repeat an action, or set of actions, in a botflow A file that stores the actions and variables designed to automate tasks..
- Set an action, or set of actions, to repeat until instructed to end with an Exit Loop action.
- Set an action, or set of actions, to create multiple lists in a botflow.
Some examples of using the Loop action are:
- Repeat a Get Value action to copy all values in all rows in a list.
- Repeat a Send Value action to paste all values in all rows in a list to an online form.
- Repeat a Create List action to create lists needed in a botflow.
Add a Loop action to a botflow
This example provides the steps necessary to add a Loop action to a botflow.
To add a Loop action to a botflow:
- On the Actions list, click Loops and select Loop from the Loops list.
The Loop Action Builder window displays.
- Set the Loop settings.
- Exact times: Sets the exact number of times to repeat an action in a Botflow.
- Forever: Repeats an action in a Botflow until instructed to end with an Exit Loop action.
- List: Provides a listing of available lists in the Botflow. The loop limit is the number of rows in the list.
Loop: Select the Loop action behavior from the drop-down list:
- If needed, adjust the Run Switch setting to create the action without running it.
- Optionally, add an action note.
- Click OK to add the Loop action to the botflow.
Field or button | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Loop Options/Settings | General
|
||||||||||||
Loop submenu options |
To manage a Loop action, with the Loop action active in the botflow, right-click the Loop
action and choose from the following Loop options.
|
||||||||||||
Note |
(Optional) Type a Note to document any special instructions or functionality.
|
||||||||||||
Run Switch |
The Run Switch toggle controls how Nintex RPA runs an action when adding or editing an action in a botflow.
|
||||||||||||
OK/Cancel | Click OK to save the action or click Cancel to discard the action or any changes. |