← Back to Explore
for-retry-defer-exhaustion
Iteration RETRY exhaustion DEFERs a FAIL into parent FAIL ANY STOP
for-loops retry defer
Rundown
# FOR RETRY Exhaustion DEFERs to Parent
Iteration-level `RETRY 2 DEFER` means: on FAIL, retry up to twice; on the
third FAIL, DEFER a FAIL result into parent aggregation. The parent's
`FAIL ANY STOP` must then fire because at least one DEFERred result was FAIL.
## 1. Process items
- FOR item IN 1 TO 2
- PASS DEFER
- FAIL RETRY 2 DEFER
- PASS ALL COMPLETE
- FAIL ANY STOP
### 1.1 Check {{item}}
Check item. Run
Iter 1 passes on first attempt; iter 2 fails three times (initial + 2 retries) and exhaustion DEFERs a FAIL which trips FAIL ANY STOP
Initializing...
Initializing...
Step—/1