For Each
For Each is and advanced Route Step that lets you loop through a list of items and call into a new Route Target for each item in the list.
Each item is processed in turn with the Route Target called and subsequent items in the list only being processed once the Target Route returns.
If the Target 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.
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.