← Back to Explore

named-step-basic

Named steps with GOTO error handling

named-steps

Rundown


# Named Steps Example

## 1. Main runbook

- FAIL GOTO ErrorHandler
- PASS COMPLETE SUCCESS

Do the main work

## ErrorHandler

- PASS STOP RECOVERED
- FAIL STOP "Unrecoverable error"

Handle any errors that occur

Run

Main runbook passes, completes successfully

Initializing...

Initializing...

Step/2