Workflow
The base element for all workflows
Workflow
The <workflow> element is the root container for a state machine:
| Prop | Type | Default |
|---|---|---|
name? | string | - |
initial? | string | - |
version? | string | - |
Allowed Children
state: Statesparallel: Parallel statesfinal: Final statesdatamodel: Data model declarationsinitial: Initial transition
Initial Element
The <initial> element represents the default initial state:
History Element
The <history> element represents a history pseudo-state:
| Prop | Type | Default |
|---|---|---|
id? | string | - |
type? | string | - |