Visually capture the behavior of an object in a system using UML, a standard adopted worldwide. Clarify how different events drive transitions between states. Uncover unlikely yet possible problematic states.
Step 1 - Define states
Specify possible, meaningful conditions or situations an object might be in during its life time in a system.
Step 2 - Describe states
Tell others more in detail about what those states are with documentation for future reference.
Step 3 - Draw transitions
Draw directed lines to depict changes from one state to another.
Step 4 - Define transition triggers
Clarify what events kick off the transitions.
Step 5 - Define guard conditions
Place constraints that need to be met before a transition actually takes place - making a transition conditional.