Add a state
A workflow can consist of up to four different state types. The two following state types can only exist once in a workflow:
- A state that represents a new, unedited and unsaved object (<state.initial>).
- A state that represents an unsaved object that was edited by a user or by the system (<state.prepared>).
These types can occur multiple times in a workflow, but they must have unique IDs:
- A state that represents an active object (<state>), or
- a state that represents a deleted object (<state.deleted>).