Automation · Workflow Automation
Loops
Cheat sheet · https://pcornel.dk/topic.php?topic=5368
Answer
Loops in workflows repeat steps over a list of items, such as each server or each user, with options to run them in sequence or parallel and handle per-item failures.
Remember
- Loops repeat steps per item.
- Choose sequential or parallel.
- Handle per-item failures.
First checks
- Loop over items with limits — iteration
- Max iterations — safety
- Per-item error handling — resilience
Verify in this order
list → loop → per-item steps
Where it usually breaks
Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5368