← Back to Explore

delegate-for-loop

FOR loop with delegation — each iteration delegates to a child runbook

delegation for-loops

Rundown


# FOR Delegation

Each iteration delegates to a child runbook.

## 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

All iterations delegated and completed successfully

Initializing...

Initializing...

Step/1