Iterator
Description
Iterates over a specified collection of items, processing each one at a time. For each item, the activity follows the Next path, executing the configured set of actions before moving to the subsequent item. Once all items have been processed (or if the collection is empty), the activity follows the Done path to complete the workflow.
Common Capabilities
Process Data Support
This activity supports dynamic configuration using variables from the Process Data drawer.
You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.
Learn more → Using Process Data
Design Time Configuration
Display Text
Specifies the name of the activity as displayed in the process.
Items
Defines the collection of items to be iterated.
Output
Current Item
Represents the item currently being processed in the iteration.
Item Index
Indicates the zero-based index of the current item.
Iteration Number
Indicates the one-based iteration count.
Total Items
Represents the total number of items in the collection.
Has More Items
Indicates whether additional items remain to be processed (true if more items exist; otherwise false).
Flow Outcome
Determines the workflow path based on the iteration state.
Next
Triggered once for each item in the collection. Connect this path to the activities that should execute for every iteration.
Done
Triggered once after all items have been processed, or immediately if the collection is empty. Connect this path to continue the workflow after the loop completes.
Wait All Incoming
Controls how this activity behaves when multiple incoming execution paths converge.
Determines whether the activity executes when:
- any incoming path completes, or
- all relevant paths have completed before execution
Learn more → Execution Control
On Error
Defines how the workflow behaves if this activity encounters a runtime error.
Supported strategies include Fault, Continue, Suspend, and Retry.