UML state machine of an order lifecycle

This state machine shows the lifecycle of an order. An order starts as Created and moves to Paid, Shipped and Delivered as payment is received and the parcel is dispatched and delivered. It can be cancelled or time out while Created, be refunded once Paid, or be returned after shipping, which leads to a refund and the Cancelled state.

Free to start in your browser. Nothing to install.

State machine
The State machine template in FlowShape

What's in it

  • Six states: Created, Paid, Shipped, Delivered, Cancelled, Returned
  • An initial state and two final states
  • Transitions labelled with their triggers, such as parcel dispatched
  • Entry actions such as reserve stock on Created and release stock on Cancelled

UMLState

Good for

  • Agreeing the allowed status changes of an order or ticket
  • Designing status fields and their rules before coding
  • Finding missing transitions and dead ends

A UML state machine diagram shows the states an object can be in and the events that move it from one state to another.

Make it yours

Every shape is editable

Rename, move, restyle or delete anything. Connectors stay attached when shapes move.

In your browser

FlowShape runs in Edge, Chrome or any modern browser. Nothing to install.

Export when you need to

Word, PDF, PowerPoint and Visio (.vsdx).

Start from this template