Exit Loop
The Exit Loop action A feature that supplies the instructions in a botflow. ends a Loop action in a botflow A file that stores the actions and variables designed to automate tasks.. The Exit Loop action moves botflow execution to the End Loop action, skipping all actions between the Exit Loop action and End Loop action, then exiting the loop.
Using the Exit Loop action, you can:
- End a Loop action set to run Forever in a botflow.
- End the number of times to repeat an action in a botflow A file that stores the actions and variables designed to automate tasks..
- Set an action to repeat until instructed to end with the Exit Loop action.
Some examples of using the Exit Loop action are:
- Stop a Get Value action when it has completed coping all values in all rows in a list.
- Stop a Send Value action when it has pasted all values in all rows in a list to an online form.
- Stop a Create List action that has created the lists needed in a botflow.
Add an Exit Loop action to a botflow
This example provides the steps necessary to add an Exit Loop action to a botflow.
To add an Exit Loop action to a botflow:
- On the Actions list, click Loops and t select Exit Loop from the Loops list.
The Exit Loop Action Builder window displays.
There are no settings for the Exit Loop action.
- If needed, adjust the Run Switch setting to create the action without running it.
- Optionally, add an action note.
- Click OK to add the Exit Loop action to the botflow.