Sub topic 8
Decision Points and Branches
Assume you already know how to describe a user goal and read a basic flow diagram. This chapter focuses on what happens when a user, system, or outside condition can send the flow in different directions.
A decision point is a moment where the next step depends on a condition. A branch is one possible route from that decision. For example, a checkout flow might ask whether the user has an account. A returning customer sees a sign-in step, while a new customer continues as a guest.
Model decisions as conditions
Write the decision as a question that can be answered with clear outcomes. Avoid vague labels such as “Choose option” or “User decides.” Instead, name the condition:
- “Is the email address valid?”
- “Does the user have an account?”
- “Is the item in stock?”
- “Has payment been approved?”
Each outgoing connector should state its result. Common results include “Yes” and “No,” but more specific labels are better when there are several possibilities.
| Weak decision | Clear decision | Branch labels |
|---|---|---|
| Choose delivery | Is the address serviceable? | Yes, No |
| Payment step | Is payment approved? | Approved, Declined, Pending |
| Select account | Which account type is selected? | Personal, Business |
A decision can come from the user or the system. A user chooses a delivery method. A system checks whether a discount code is valid. Both belong in the flow because both affect what happens next.
Separate the happy path from alternatives
The happy path is the expected route when the user completes each step successfully. Draw it first so the main goal remains easy to follow. Then add branches for validation failures, cancellations, unavailable resources, and unusual but realistic situations.
Consider a password reset:
The “No” branch returns to the step that can resolve the problem. This is better than sending the user to a generic error page or leaving the branch without an outcome.
Avoid common branch errors
Branches often become difficult to use when the conditions overlap or leave gaps.
- Overlapping conditions: Two branches could both apply. Define a priority or make the conditions mutually exclusive.
- Missing outcome: A connector stops at a step that is not an endpoint. Add the next action or mark the step as an intentional end.
- Unlabeled connector: Readers cannot tell which condition selects the route.
- Error-only design: The flow shows failure messages but not how the user recovers.
- Branch explosion: Every small variation appears on one diagram. Move low-impact details to notes or a separate flow.
- Confusing actor decisions with system checks: Label who makes the decision when that affects responsibility or content.
A branch should answer three questions: What condition creates it? What does the user see? Where can the user go next? If the answer to the last question is nowhere, confirm that ending is intentional.
Test branches with walkthroughs
Walk through every outgoing route from each decision. Ask a teammate to follow one branch without explaining the intended result. If they cannot predict the next step, the decision label or connector may be unclear.
For important flows, test realistic failure cases. Try an expired reset link, a declined payment, a missing permission, and a slow response. Check that the user receives an understandable message and has a way to continue, retry, cancel, or contact support.
Exercise
In a checkout flow, payment can be approved, declined, or still processing. What decision and branch labels should you draw, and which branch should return to payment?
Show answer
Draw “Is payment approved?” only if the system has a separate pending state. A clearer decision is “What is the payment status?” with branches “Approved,” “Declined,” and “Pending.” The “Declined” branch should return to payment with an explanation and retry option. The “Pending” branch should show the status and define whether the user waits, refreshes, or leaves the flow.