← Back to Explore
for-break-on-pass
PASS BREAK exits the loop early when a substep passes.
for-loops
Rundown
# FOR Break On Pass
## 1. Find match
- FOR item IN 1 TO 3
- PASS ANY COMPLETE
- FAIL ALL STOP
### 1.1 Try {{item}}
- PASS BREAK
- FAIL CONTINUE
```bash
rd echo "item={{item}}"
``` Run
First iteration fails, second passes and breaks, step completes
Initializing...
Initializing...
Step—/1