How it works
overmust produce a list. The body (do) runs once per item, with{{item}}and{{index}}available.concurrencyruns that many items at once. Use it only when items don’t depend on each other.onError: skipleaves failed items out ofresultsand lists them infailed, withfailed_count, instead of failing the plan.
Limits
- The body can contain
agent,ask,filter,routeandexit, but not anothermaporreduce. Call a plan for nested iteration. asksteps in the body run one item at a time.
Input
integer
Maximum items in flight; 1 (default) runs items one at a time.
object | object[]
required
enum<string>
fail (default): a failing item fails the step. skip: failed items are left out of results and listed in failed.Available options:
fail, skipany
required
The list to iterate — usually a template like {{E0.issues}} that resolves to an array.
Result
Later steps read these as{{<step id>.<field>}}.
integer
How many items ran.
object[]
With
onError: skip: the items that failed.string
Why it failed.
integer
The failed item’s position in the list.
object
The failed item.
integer
With
onError: skip: how many items failed.object[]
Each item’s result, in input order.