State machine

States and the labelled transitions between them, from start to end.

1 state machine examples

Content approval states

The lifecycle of a document from draft through review to published or rejected.

Every transition is labelled with the event that triggers it, because that is what a state machine is for. The rejection path is drawn in the accent so a reader notices where work bounces back.

Open in the editor