Skip to main content
control.foreach, Loop over an array and execute steps for each item

Configuration

Configuration fields sit at the step level (not inside with:).
items
string
required
Expression resolving to array
as
string
required
Variable name for current item
indexAs
string
Variable name for current index

Output

Results from each iteration
Number of completed iterations
Total iterations