← Back to Patterns
goto-current-dynamic-substep
Demonstrates GOTO X.{n} - jumping to the current instance of a dynamic substep
navigation dynamic substeps
Source
# GOTO Current Dynamic Substep
Demonstrates `GOTO X.{n}` - referencing the current dynamic substep instance within a step.
## 1. Process Items
### 1.{n} Handle Item
- PASS: GOTO NEXT
- FAIL: GOTO ErrorHandler
Process each item in sequence.
## ErrorHandler
- PASS: GOTO 1.{n}
- FAIL: STOP
Handle errors and resume at current item. Try It
Error handler fails and runbook stops
Initializing...
Initializing...
Step—/—
ExpectedSTOP
Env idle