← Back to Patterns

named-substeps

Demonstrates named substeps within a parent step

named substeps

Source


# Named Substeps Example

## 1. Main step
### 1.1 Prepare
Execute first action.
### 1.2 Run
Execute second action.
### 1.Cleanup Cleanup
- PASS: COMPLETE
- FAIL: STOP "Cleanup failed"

Clean up resources

Try It

All named substeps pass

Initializing...

Initializing...

Step/
ExpectedCOMPLETE
Env idle