← Back to Explore

delegate-for-loop

FOR loop with delegation — each iteration delegates to a child runbook (NOT YET SUPPORTED)

delegation for-loops pending

Rundown


# FOR Delegation

Each iteration delegates to a child runbook.

**Status**: Not yet supported. Delegation within FOR loop iterations fails because
the delegation system does not handle FOR-qualified step positions.

## 1. Process items

- FOR item IN 1 TO 2
  - PASS: DEFER
  - FAIL: BREAK
- PASS ALL: COMPLETE
- FAIL ANY: STOP

### 1.1 Handle {{item}}

Delegated to child runbook.

- delegation-child-pass.runbook.md

Run

This pattern does not have interactive scenarios defined.

Add a scenarios section to the frontmatter to enable interactive execution.