← Back to Explore
for-substep-asymmetric
Substep with PASS CONTINUE and FAIL DEFER - asymmetric transition routing
for-loops
Rundown
# FOR Substep Asymmetric Transitions
Substep uses PASS: CONTINUE (invisible) but FAIL: DEFER (feeds aggregation).
This creates asymmetric routing where success is silent but failure is recorded.
## 1. Process items
- FOR item IN 1 TO 2
- PASS ALL CONTINUE
- FAIL ANY STOP
### 1.1 Validate {{item}}
- PASS CONTINUE
- FAIL DEFER
```bash
rd echo "validate={{item}}"
```
## 2. Done
- PASS COMPLETE
```bash
rd echo "done"
``` Run
All substeps pass via CONTINUE, invisible to aggregation, vacuous pass
Initializing...
Initializing...
Step—/2