Skip to main content

Data

 

OutSystems

For Each

The For Each Tool repeats the execution of an action path for each entry in a Record List. By default the start index is at the beginning of the list, but you can define it in Start Index. Maximum Iterations will limit the number of cycles. The Current variable inside the cycle represents the element of the current iteration. The loop action connector is labelled Cycle, while the exit connector has no label. You can swap the connectors by selecting Swap Connectors in the menu that shows after right-clicking on the connector.

Properties

Name Description Mandatory Default value Observations
Label Identifies an element in the flow.
Record List Holds the list of records to be iterated in the Cycle flow. Yes
Start Index Index of the first List item to iterate. Can be an expression.
Maximum Iterations Maximum number of list items to be iterated.
  • Was this article helpful?