Final State
A Final State signifies the end of its containing region. When reached, it emits a done event for its parent.
When to Use a Final State
- Marking completion of a sub-flow (e.g., end of quiz, checkout complete).
- Triggering cleanup, summary screens, or machine termination.
Properties
| Property | Details |
|---|---|
| Name | Name of the State. |
| Entry actions | Actions to trigger upon entering the State. |
| Exit actions | Actions to trigger upon exiting the State |