← Back to Explore

substep-defer-shorthand

DEFER shorthand expands to PASS DEFER + FAIL DEFER

substeps

Rundown


# Substep DEFER Shorthand

`- DEFER` is shorthand for `- PASS: DEFER` + `- FAIL: DEFER`.

## 1. Validate

- PASS ALL: COMPLETE
- FAIL ANY: STOP

### 1.1 First check

- DEFER

```bash
rd echo "first"
```

### 1.2 Second check

- DEFER

```bash
rd echo "second"
```

Run

Both substeps DEFER via shorthand, parent PASS ALL fires COMPLETE

Initializing...

Initializing...

Step/