When defining the action flow of your action, you can repeat the execution of an action path for each entry in a Record List. This behavior is implemented through the For each element which you can drag onto your canvas from the Action Flow Toolbox.

The For each iteration always starts at the beginning of the Record List; before iteration begins, the Current record is the first record of the Record List.

In the Action flow, the For each must have two actions paths: The repeated path, represented by the path labeled as Cycle, and the on-end path, which does not have a label. Inside the cycle path, you have the Current variable, which represents the element that is being iterated.

The For each flow must follow these rules, otherwise an error message is presented and the eSpace is not valid:

You will get a runtime error if you have a For each inside another For each that uses the same Record List.

See Also

For Each Properties | Action Flow Toolbox