Activity diagrams
An activity diagram shows steps, choices and work done side by side. Learn five Unified Modeling Language symbols and how to draw a branch that is easy to read.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: A flowchart on the back of a recipe. A recipe flowchart says: crack the eggs, then ask "Is the pan hot?". If yes, pour. If no, wait. You see the steps and the choices in order, but you do not see why the pan must be hot.
Sam is a , the person who finds out what people need. Sam works on Daily List, a to-do list app. Leo is the developer, who builds it. Tom is the tester, who checks it. All three need to know what happens when Lily adds a task with a title that is too long.
So Sam draws an , which is a Unified Modeling Language (UML) picture of steps, choices and parallel work. UML is a standard set of drawing rules for software.
Each step is an action, one step in an activity diagram. "Enter title" is an action. "Save task" is another.
The choice is a , a diamond where the path splits by a condition. Sam writes the conditions in square brackets: [title fits] and [title too long].
Here is the picture as text: Start → Enter title → Check the title length. Then [title fits] → Save task → End. Or [title too long] → Show a message → Enter title.
The picture shows the order of steps, not the reasons. Sam writes the reason for the length limit in a note.
PLAIN WORDS · 2 in this section
- flowchart
- a drawing of steps in time order
- pan
- a wide cooking dish used on a stove
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB An shows the order of steps and the choices between them, so a team can see every path through a piece of work.
- Pick one goal
- Write the actions
- Find the choices
- Draw the arrows
- Close every path
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| The steps on a recipe flowchart | Actions |
| "Is the pan hot?" | A decision node |
| Yes and no on the arrows | Guards |
| Cooking two dishes at once | A fork and join |
| Not knowing why the pan must be hot | The diagram shows order, not reasons |
WHERE THIS PICTURE STOPS
- A recipe flowchart has few choices. A real diagram may have many.
- A recipe is done by one cook. An activity diagram does not say who does each step.
- A recipe does not explain its reasons. A diagram needs notes for those.
HOOK
Box for a step, diamond for a choice, bar for together.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
At every diamond, check that each guard has a path. Sam asks what happens when the title is too long.
| In the trick | What it stands for |
|---|---|
| Diamond | A decision node where the path splits by a condition |
| Guard | The conditions written in square brackets |
A diamond can have more than two outcomes, so count them all.
TELL A FRIEND
An shows steps, choices and work done together. A box is a step, a diamond is a choice and a bar starts parallel work.
OFTEN MIXED UP WITH Swimlane diagrams. That topic shows who does each step in lanes. This one shows the steps and choices, with no focus on who acts.
PRACTISE AND KEEP
Sources for this topic — 2 sources
- Official requirement
Unified Modeling Language (UML) 2.5.1 specification page ↗ — Object Management Group · UML 2.5.1 December 2017, §§7.5,9.5.3,11.5,14,15,17–18: multiplicity, state/activity/interaction and use-case semantics; public normative PDF opened/read2026-11-06.
Official public catalogue/PDF retrieved and the cited sections read. UML 2.5.1 December 2017; §§7.5,9.5.3,11.5,14,15,17 and18 opened/read6 November 2026, including prior actor review. Original educational paraphrase; no source artwork copied.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: The Daily List steps are invented for teaching. This topic shows only a few symbols from the Unified Modeling Language and leaves out many others, such as object flows and swimlane partitions.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.