SELF-GUIDED BA PRACTICE Packages available · Access after confirmed paymentSee packages ↗

Business analysis glossary

State Diagram

What it is

A state diagram, or state machine diagram, shows the different states an object can be in during its life and the events that cause it to move from one state to another. States are drawn as rounded boxes and transitions as arrows labelled with the triggering event and any condition. State modelling is a BABOK technique.

Why it matters

Objects such as orders, claims and tickets often have complex life cycles with rules about which changes are allowed. A state diagram captures those rules in one picture, prevents impossible transitions, such as a cancelled order being shipped, and gives testers a complete list of transitions to check.

Example

For Monsoon Mart's orders, the analyst draws states Placed, Paid, Packed, Shipped, Delivered, Cancelled and Returned. The diagram shows that cancellation is allowed only before Shipped. A developer realises the current system allows cancelling a shipped order, which explains a series of refund errors.

CHECK BEFORE CONTINUING

Keep your work safe