Final Element
Element for terminal states in the state machine
Final Element
The <final> element represents a terminal state:
| Prop | Type | Default |
|---|---|---|
id? | string | - |
Allowed Children
donedata: Completion data
Examples
Basic Final State
Final State with Data
Error Final State
Usage Notes
- Marks completion of a region or machine
- Can include final processing
- Can return completion data
- Cannot have transitions