Sub topic 6
Adding decisions, exceptions and rework loops
This chapter assumes you can already draw the normal path of a process in a swimlane diagram. You should know the core symbols (start/end, activity, decision, flow) and how to place each step in the lane of the actor who performs it. If you have not mapped a normal path yet, do that first. Everything here is added on top of it.
Why the normal path is not enough
A normal path shows what happens when everything goes right. Real processes spend much of their time somewhere else. Requests arrive incomplete, approvers say no, systems fail, and work comes back for correction. For improvement work this matters because the cost of a process often hides in these branches. A step that looks quick on the normal path may be repeated three times for one in every four cases.
Adding branches is therefore not decoration. Each branch you add answers a question: how often does this happen, who handles it, and what does it cost?
Decisions
A decision is a point where the path splits based on a condition. It is drawn as a diamond with one flow in and two or more labeled flows out.
Follow these rules to keep decisions readable:
- Phrase the decision as a question that can be answered from the data available at that point. "Information complete?" works. "Is this a good request?" does not.
- Label every outgoing flow. "Yes" and "No" are fine for binary questions. For several outcomes, use the actual values, such as "Under 500", "500 to 5,000" and "Over 5,000".
- Make the outcomes mutually exclusive and complete. If a reader can ask "and what if neither?", add the missing branch.
- Place the decision in the lane of the actor who makes it. If a system applies a rule automatically, put the diamond in the system lane. If a person checks and then chooses, put it in the person's lane.
The lane placement tells you something useful. A diamond in a human lane means a person's judgment, attention and availability are needed. A diamond in a system lane means the check is already automated.
Exceptions
An exception is a path that is outside the intended flow of the process. A decision such as "Information complete?" is part of the design. An exception is something like "Payment system unavailable" or "Customer withdraws request".
You do not need to map every conceivable exception. Use these filters to choose which ones to draw:
- Frequency. Does it occur often enough that people have a routine for it?
- Cost. Does it consume much effort or cause serious harm when it occurs, even if it is rare?
- Scope. Does it change who is involved or where the process ends?
An exception that occurs once a year and takes five minutes can be left out or noted in a comment. A rare exception that triggers a regulatory report belongs on the map.
Exceptions often lead to a different end point. A rejected request ends the process just as a fulfilled one does, but with a different outcome. Mark each end point with its outcome, for example "Request fulfilled" and "Request declined", so a reader can see all the ways the process can finish. Recall that your scope definition named a trigger, an end point and an outcome. Exceptions are where you discover that there is more than one.
Rework loops
A rework loop is a path that sends work back to an earlier step so that something can be redone or corrected. It is drawn as a flow that returns to a step already on the map.
Rework is one of the most useful things a swimlane diagram can reveal, because it is invisible in a list of steps. When the loop is drawn, you can see three things:
- Where it starts. The decision or step that detects the problem.
- Where it returns. The step that must be repeated. A loop that returns to the very start is more expensive than one that returns to the previous step.
- Which lanes it crosses. A loop that crosses lanes involves a handoff in the wrong direction, which usually adds waiting time as well as effort.
Compare two designs for the same problem. In the first, Support checks the request, finds that information is missing, and asks the customer, and the customer's answer returns to Support's review step. In the second, Fulfillment finds the missing information after processing has begun and sends the work back to the customer. Both are rework loops, but the second returns later, crosses more lanes, and wastes the work already done. Where the loop starts is as important as the fact that it exists.
Drawing a loop clearly
- Return the flow to the step that is actually repeated, not to a convenient spot.
- Label the loop's decision so the reader knows the reason, for example "Missing information".
- Avoid long flow lines that cross many other flows. If the line is hard to follow, move lanes or steps to shorten it.
- Do not use a loop to hide an unbounded wait. If the customer may never reply, add a branch for what happens after a timeout.
Worked example
Consider a request process with three lanes: Customer, Support and Fulfillment. The normal path is: the customer submits a request, Support reviews it, Fulfillment processes it, and the customer receives the result. Now add the branches.
- After the review, Support decides whether the information is complete. This diamond sits in the Support lane.
- If not, Support asks the customer for the missing information. This is a rework loop that crosses into the Customer lane and returns to the review step.
- If the customer does not respond within 10 days, the request is closed. This is an exception with its own end point, "Request closed, no response".
- Fulfillment may find that an item is out of stock. This is an exception that requires a decision on whether to backorder or cancel.
The following diagram shows the first three of these branches.
Notice that the loop passes through the Customer lane and returns to Support. Each pass adds the customer's response time, which is often the longest wait in the whole process. At this stage you do not yet know how long that is. Later chapters add the measures that turn this picture into numbers.
Writing the same logic as text
Text-based diagram tools are well suited to branches, because you can change a condition or a label by editing a line. The PlantUML activity diagram below uses |Name| lines to switch lanes and shows the decision with if. It also includes the rework path by using a repeat loop.
@startuml
|Customer|
start
:Submit request;
|Support|
repeat
:Review request;
backward:Customer supplies missing information;
repeat while (Information complete?) is (no) not (yes)
|Fulfillment|
:Process request;
|Customer|
:Receive result;
stop
@endumlThe repeat construct makes the loop explicit. The backward line holds the activity performed on the way back. This version has no timeout branch. Adding one is a useful exercise, and it shows a limit of loop constructs: when a loop has several exits, a plain flowchart with explicit flows is often clearer.
Common errors
| Error | Why it causes trouble | Fix |
|---|---|---|
| Diamond with one outgoing flow | The reader cannot tell what happens in the other case | Add every outcome or remove the diamond |
| Unlabeled outgoing flows | The reader has to guess the condition | Label each flow with the answer |
| Decision in the wrong lane | Hides who actually judges, and who is waiting | Put it in the lane of the decider |
| Loop that returns to the wrong step | Misstates how much work is repeated | Return to the first step actually redone |
| Every rare exception drawn | The map becomes unreadable and the main flow is lost | Draw only frequent, costly or scope-changing exceptions, and note the rest |
| Loop with no exit | Implies the process can run forever | Add a timeout or escalation branch |
| Rework shown as a normal step ("Fix errors") | Hides that the work is being repeated | Draw it as a flow returning to an earlier step |
What to look for after adding branches
Once the branches are on the map, read it again with these questions:
- How many loops are there, and which lane do they cross?
- Which decisions sit in human lanes, and could a system or a clearer rule make them automatic?
- Which exceptions are handled by an agreed routine, and which are handled by improvisation?
- Which end points exist, and does each one have a named outcome?
- Where does the same problem get found late rather than early?
These questions prepare you for the chapters on handoffs and waste, where the loops and the cross-lane flows are measured and judged.
Exercise
In a purchasing process, Finance checks an invoice against the purchase order. If the amounts differ, the invoice goes back to the Supplier for correction, and the corrected invoice returns to Finance's check. Finance also closes the invoice as "Rejected" if the Supplier does not answer within 30 days. Describe where each of these goes on a swimlane map: the decision diamond, the rework loop, and the exception end point. State the lane for each.
Show answer
The decision "Amounts match?" is a diamond in the Finance lane, because Finance makes the check, with outgoing flows labeled "Yes" and "No". The rework loop starts at the "No" flow, goes to a step in the Supplier lane such as "Correct invoice", and returns to Finance's check step. It crosses from Finance to Supplier and back. The exception is a second decision, "Reply within 30 days?", also in the Finance lane. Its "No" flow leads to an end point "Invoice rejected", placed in the Finance lane, since Finance closes it. The map then has two end points with different outcomes: the invoice is accepted, or it is rejected.
Exercise
A team's map shows a rework loop that begins at the final inspection step and returns to the first step of the process. Name two things this tells you, and one way a redesign could shorten the loop.
Show answer
It tells you that defects are found at the end, after all the work has been done, and that the whole process is repeated for each defect, so the cost of rework is high. It also suggests the cause may originate early, since the loop returns to the start. A redesign could add a check earlier, near the step where the defect is created, so the loop starts earlier and returns to a nearby step instead of the beginning.