For Each
For Each is an advanced Route Step that lets you loop through a list of items and call into a Route for each item in the list.
Each item is processed in turn with the Route called and subsequent items in the list only being processed once the Route returns.
If the Route hangs up the call, no further items will be processed.
Before you can use the For Each action you must provide a variable which contains a list of items. There are a number of Actions that will load various lists into a variable including:
- Select From Roster
RouteTarget
The Route to call for each item in the list.
List Variable Name
The name of the variable that contains the list. The list must have been loaded into the variable in a prior step.
Dto Variable Name
The name of a variable to create to hold the item that is being processed.
This variable name can be referenced in the Route that is called.