Prev Next

Example State-Trigger Table

The rows indicate the current states and the columns indicate trigger events (or the other way around if you prefer, in a Trigger - State format).

The cell at the intersection of a row and column identifies the target state in the transition if the trigger occurs, and the condition (or guard) of the transition.

An State Machine table example with triggers using Sparx Systems Enterprise Architect.