For Each

Description

The ForEach action allows a Flow to iterate through a list of items, applying one or more actions for each item. The input for the ForEach action is a list of items, usually this input is provided by a HTTP request. Once the ForEach action is set in the flow, internal actions can be added clicking on the plus icon. Actions can be sorted using drag & drop functionality.

ForEach Flow Designer

Internal references

Internal actions are those which are part of the ForEach. They will be applied to each item of the list. Those actions have access to special references:

Moreover, internal actions can reference output results from other internal actions.

ForEach Flow Designer

Output

As the For Each action breaks the normal execution flow, the History section has been updated to show a clearer view of the execution. ForEach actions are shown including the action's step itself together with the iteration and the substep sequence in the name (i.e: Step2.Iteration3.Substep1). Clicking on the header of a specific step will expand the step's information as usual.

ForEach Flow Designer

Limitations