Sub topic 3
Choosing lanes: roles, teams and systems
This chapter assumes you can read a basic flowchart and have already set a scope for your process, with a trigger and an end point. It also assumes you know the people involved. Here you decide what the lanes are called and which steps sit in each one. Lanes are the feature that separates a swimlane diagram from a plain flowchart, and poor lane choices make the later analysis misleading.
What a lane represents
A lane is a horizontal or vertical band that belongs to one actor. An actor is whoever or whatever performs the steps inside the band. Every activity box sits in exactly one lane. The lane answers the question "who does this step?"
That one question is what makes handoffs visible. A handoff is any arrow that crosses a lane boundary. Handoffs are where work waits in a queue, where information gets lost, and where nobody feels responsible. A plain flowchart hides them because it never says who acts. A swimlane diagram shows them as arrows crossing a line.
Your lane choices decide which handoffs you can see. If two teams share one lane, the handoff between them disappears from the map, and so does any delay or error that occurs there.
The three kinds of actor
Lanes usually fall into three groups: roles, teams and systems. You can mix them on one map if you label them clearly.
| Lane type | Example | Use it when | Main risk |
|---|---|---|---|
| Role | Claims clerk, Approver, Customer | Individual job functions do distinct work and the handoffs between them matter | Too many lanes when a department has many job titles |
| Team or department | Finance, Warehouse, IT Service Desk | Work moves between groups and the people inside each group are interchangeable | Hides handoffs that occur inside the team |
| System | CRM, ERP, Payment gateway | Software performs steps without a person, or a person re-enters data between tools | Treating a tool as an actor when a person is really doing the work |
Role lanes
A role is a function that someone performs, such as "Reviewer". One person can hold several roles, and one role can be held by several people. Use roles when the process depends on what someone is allowed or qualified to do. An approval that only a manager can give belongs in a "Manager" lane, whichever manager happens to be on shift.
Role lanes are the most precise choice, and they are also the easiest way to end up with ten lanes. Merge roles that behave identically in this process.
Team lanes
Team lanes work well for a first map, or when your scope crosses several departments. They keep the diagram short and match the organization chart, so stakeholders recognize themselves quickly.
The drawback is hidden handoffs. If "Finance" contains a clerk who prepares a payment and a supervisor who releases it, a single Finance lane will not show the wait between them. When a team lane contains more than one distinct step sequence with a queue in the middle, split it into role lanes.
System lanes
A system lane holds steps that software performs on its own: sending a notification, validating a field, posting a record to the ledger. It earns its place in two situations.
- The system does real work without a person, and you want to see which steps are automated.
- A person copies data from one system to another. The map should show that manual re-keying, because it is a classic source of errors and delay.
Do not give a system a lane merely because people use it. If a clerk types into the CRM, the typing is the clerk's step and belongs in the clerk's lane. You can write "in CRM" in the step label to record the tool.
The customer lane
Put the customer, requester or patient in its own lane, usually at the top. This does three things. It shows the trigger, because most processes start with something the customer does. It shows the end point, because the process ends when the customer receives the outcome. It also shows the customer's own steps, such as supplying missing documents, which are often a source of waiting that the organization wrongly counts as its own delay.
If the process is internal, treat the requester the same way. An employee asking for a laptop is the customer of that process.
Rules for placing steps
The central rule is to place each step in the lane of the actor who performs it, not the actor who owns, requests or is accountable for it. A manager may be accountable for credit checks, but if an analyst runs them, the step goes in the analyst's lane.
Some situations need extra care:
- Two actors do one step together. Pick the actor who does most of the work, or split the step into two parts that each sit in one lane. A step spanning two lanes is a sign you have not yet found the actual handoff.
- The actor is unclear. This is a finding, not a mapping failure. Mark the step with a question mark and resolve it when you validate the map with the people who do the work.
- The step is performed by different actors on different days. Choose the common case for the main map. Record the variation as a note and revisit it when you add exceptions.
- A step is performed by an outside party. A supplier, a bank or a regulator gets its own lane. You cannot change what happens inside it, but you must still show the waiting time it adds.
How many lanes, and in what order
Aim for three to seven lanes. Fewer than three usually means the map is not showing a real handoff. More than seven makes the diagram wide, and the eye loses track of the flow. If you need more, check whether your scope is too broad, or merge lanes whose members behave the same way.
Order lanes so that most arrows travel in one direction. Put the customer at the top, then the actors in roughly the order they first appear in the normal path, and put systems and external parties at the bottom. This reduces crossing lines and makes backward arrows stand out. A backward arrow often marks rework, which you will study in a later chapter.
A worked example
Take an expense claim process. The trigger is an employee submitting a receipt. The end point is the employee receiving reimbursement. Here are candidate actors.
- Employee (the customer of this process)
- Line manager, who approves the claim
- Finance clerk, who checks receipts and prepares payment
- Expense system, which records and routes claims
- Bank, which executes the transfer
The expense system could be a lane or a tool. In this process it sends reminders and calculates the totals on its own, so it earns a lane. The bank is an outside party and also gets a lane. The diagram shows the result.
Counting arrows that cross a boundary gives six handoffs for a seven-step path (Employee to System, System to Manager, Manager to Finance, then Finance to Bank, Bank to Employee, and the step within Finance that does not cross). A map like this already raises useful questions. Why does the claim return to the system between steps? Does the manager wait days before approving? You can only ask these because each step has a lane.
Expressing lanes in text
If you keep maps in version control, PlantUML lets you declare lanes with |Name| lines. Each line switches the active lane, so every step after it belongs to that actor.
@startuml
|Employee|
start
:Submit claim;
|Expense system|
:Calculate totals and route claim;
|Line manager|
:Approve claim;
|Finance clerk|
:Check receipts;
:Prepare payment;
|Bank|
:Transfer funds;
|Employee|
:Receive reimbursement;
stop
@endumlThe lane order in the rendered picture follows the order in which the lanes first appear. Reorder the first |Name| lines to change it. Mermaid has no true swimlane syntax, so its subgraph blocks only group steps. You have to keep the grouping consistent yourself.
Common lane mistakes
- Using a lane for a tool the person operates. The step belongs to the person. Reserve system lanes for automated work and for re-keying between tools.
- Using job titles from the organization chart without checking. Titles often differ from who actually does the work. Confirm with the people involved.
- Putting everything in one department lane. This hides internal queues. If a step waits inside the department, give each side its own lane.
- Inventing a lane called "Other" or "Management". A catch-all lane stops being an actor. Name the real role.
- Changing lane granularity partway through. Do not use "Finance" in one place and "AP clerk" in another for the same people.
Checklist for choosing lanes
- List every actor who performs at least one step in your scope.
- Merge actors who do identical work in this process.
- Add the customer or requester, and any outside party that holds the work for a time.
- Add a system lane only where software acts alone or where re-keying happens.
- Order lanes so most arrows run in one direction.
- Place every step in the lane of the person or system that performs it.
- Confirm lane names with the people who work in them.
Exercise
A purchase request process has these actors: the requester, the requester's manager, the procurement team (a buyer and a procurement supervisor), and an ERP system that creates purchase orders automatically once the supervisor approves. The buyer often waits two days for the supervisor to approve quotes. Propose lanes for the map and explain two choices you made.
Show answer
Lanes from top to bottom: Requester, Manager, Buyer, Procurement supervisor, ERP system. First, the buyer and supervisor are split into separate role lanes instead of one "Procurement" team lane, because the two-day wait for quote approval is a handoff inside the team and a single lane would hide it. Second, the ERP system gets its own lane because it creates purchase orders without a person acting, which shows where the process is automated. The requester is kept as the customer lane at the top because the process starts and ends with them.