Diagrams & workflows
Swimlane Diagram: 8 Examples Showing Handoffs, Loops and Approvals
Eight complete swimlane examples with named owners, decisions, rejection paths and rework loops. Download editable JSON, CSV and Mermaid workflows.
· · Diagram Studio Editorial
Direct answer
A swimlane diagram is a flowchart divided into responsibility lanes. Each activity belongs to a named role, and an arrow crossing lanes shows a handoff. A useful map includes what the receiver accepts, every important decision outcome and the path for rejected or failed work to return for correction.
What a swimlane diagram makes visible
A swimlane diagram places process steps inside named responsibility lanes. Arrows show sequence; an arrow crossing a lane boundary shows a handoff. It is useful when the question is “who does this next?” and the answer changes across a process. Lucid’s swimlane guide describes grouping activities by roles, teams or systems and tracing their connections.
The eight original workflows below include decisions, rejection paths and rework loops. Adjust their boundaries and routing rules with the people responsible for the process.
These examples use cross-functional flowchart notation. BPMN adds formal rules for pools, message flows and gateways; converting a workflow into BPMN needs a separate notation review.
Read the lane, the decision and the return path
| Element | Meaning in these examples | Check |
|---|---|---|
| Lane | One named role owns the step | Do not leave shared ownership implicit |
| Action | A verb-led activity | Place it in the role that performs it |
| Decision | A question with named outgoing conditions | Every outcome has a destination |
| Handoff | A connection between different owners | State what the receiver must accept |
| Rework loop | An exception returns to a prior step | Name the cause and the re-entry condition |
| End | A distinct completion or stop outcome | Rejected and completed cases stay distinguishable |
JSON and Mermaid retain node shapes and labeled connections. CSV lists each step’s ID, owner, action and outgoing routes. The tables below use that same step-and-routing view, so the complete workflow is readable even when the drawing needs enlargement.
Begin with a SIPOC diagram if the process boundary is still disputed. It is easier to assign responsibility after the team agrees what the process includes.
Choose an editable workflow
| Example | Main handoff | Exception to inspect |
|---|---|---|
| 1. Refund request | Support → finance | Missing evidence and processor error |
| 2. Customer onboarding | Implementation → support | Rejected acceptance and incomplete handover |
| 3. Hiring | Recruiter → manager | Missing scorecard evidence and counteroffer |
| 4. Purchase approval | Procurement → budget owner | Material request changes |
| 5. Incident response | Responder → incident lead | Failed mitigation |
| 6. Software release | Reviewer → release owner | Rollback followed by fresh review |
| 7. Invoice payment | Accounts payable → approver | Mismatch and rejected instruction |
| 8. Content approval | Editor → publisher | Material revisions and release failure |
Download all eight editable workflows as JSON. Individual Mermaid files group nodes by owner; the SVGs use visible horizontal lanes. Mermaid layouts may arrange owner groups differently depending on the renderer.
1. Refund request
Begins at request submission; ends with denial or accepted refund instruction plus customer notification. Bank settlement is outside scope.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| R1 | Customer | Submit order ID and reason | Request logged → R2 |
| R2 | Support | Check order and policy? | Evidence missing → R3; Ineligible → R4; Eligible and complete → R5 |
| R3 | Customer | Supply missing evidence | Evidence supplied → R2 |
| R4 | Support | Record denial and notify | End |
| R5 | Finance | Approve refundable amount? | Denied with reason → R4; Approved → R6 |
| R6 | Finance | Submit refund; accepted? | Processor accepted → R7; Processor error → R8 |
| R7 | Support | Send reference and close | End |
| R8 | Finance | Investigate payment error | Issue resolved; safe to retry → R6 |
R1 → R2 → R3 → R2 → R5 → R6 → R8 → R6 → R7. This trace includes missing evidence and a processor error before closure.
2. Customer onboarding
Begins with setup data for an agreed scope; ends when support accepts the handover and confirms ownership.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| O1 | Customer admin | Submit agreed setup data | Setup package → O2 |
| O2 | Implementation | Check scope and completeness | Incomplete → O3; Complete → O4 |
| O3 | Customer admin | Correct data or scope | Corrected → O2 |
| O4 | Implementation | Configure and run acceptance case | Ready for acceptance → O5 |
| O5 | Customer admin | Accept workflow result? | Rejected with specific issue → O6; Accepted → O7 |
| O6 | Implementation | Correct configuration | Fixed → O4 |
| O7 | Support | Handover package complete? | Missing evidence → O8; Accepted → O9 |
| O8 | Implementation | Complete handover evidence | Package complete → O7 |
| O9 | Support | Confirm support owner | End |
O1 → O2 → O4 → O5 → O6 → O4 → O5 → O7 → O9. Customer rejection returns to configuration, rather than disappearing into a generic “review” box.
3. Hiring and offer approval
Begins with a candidate for an approved role; ends with an accepted offer or a recorded decline. New-role authorization is separate.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| H1 | Recruiter | Meets role scorecard? | Not qualified → H2; Qualified → H3 |
| H2 | Recruiter | Send decline and record reason | End |
| H3 | Hiring manager | Interview evidence supports hire? | Do not proceed → H2; Evidence incomplete → H4; Proceed → H5 |
| H4 | Recruiter | Resolve missing evaluation evidence | Evidence ready → H3 |
| H5 | Hiring manager | Authorize offer within band | Authorized offer → H6 |
| H6 | Candidate | Accept offer? | Accept → H8; Decline or counter → H7 |
| H7 | Recruiter | Review counteroffer or reopen search | Revised offer allowed → H5; Reopen candidate search → H1 |
| H8 | Recruiter | Record accepted offer for onboarding | End |
H1 → H3 → H4 → H3 → H5 → H6 → H7 → H5 → H6 → H8. A counteroffer repeats authorization; it does not bypass the manager.
Editable JSON · Mermaid source · Step CSV · SVG drawing
At H7, record the candidate’s declined offer before reopening the search. H7 → H1 starts assessment of a new candidate for the same role; a counteroffer instead returns to H5 for renewed authorization.
4. Purchase approval
Begins with a purchase request; ends with an issued order or a returned denial. Delivery and payment are separate.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| P1 | Requester | Submit specification and quote | Request → P2 |
| P2 | Procurement | Request complete? | Incomplete → P3; Complete → P4 |
| P3 | Requester | Add missing detail | Resubmitted → P2 |
| P4 | Budget owner | Approve spend and authority? | Denied → P5; Approved → P6 |
| P5 | Procurement | Record rejection and return reason | End |
| P6 | Procurement | Supplier valid for order? | Validation failed → P7; Supplier valid → P8 |
| P7 | Requester | Resolve supplier or specification issue | Material change: review again → P2 |
| P8 | Procurement | Send purchase order and record commitment | End |
P1 → P2 → P4 → P6 → P7 → P2 → P4 → P6 → P8. Supplier validation triggers a revised request and a fresh approval.
5. Service incident response
Begins at an alert; ends at validated recovery, customer update and assigned follow-up actions. Permanent engineering changes are tracked separately.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| I1 | Responder | Customer impact confirmed? | No incident → I2; Customer impact confirmed → I3 |
| I2 | Responder | Record false alarm and close | End |
| I3 | Incident lead | Declare incident and assign owners | Confirmed impact and message owner → I4 |
| I4 | Communications | Publish initial confirmed status | Status published; mitigation continues → I5 |
| I5 | Responder | Mitigation restored service? | Not recovered → I6; Recovery validated → I7 |
| I6 | Incident lead | Choose next mitigation or rollback | Next approved action → I5 |
| I7 | Communications | Publish recovery status | Recovery communicated → I8 |
| I8 | Incident lead | Confirm follow-up owners and close | End |
I1 → I3 → I4 → I5 → I6 → I5 → I7 → I8. A failed mitigation loops back to technical work, not to a premature recovery announcement.
6. Software release
Begins with a reviewable change; ends with a verified release or a held candidate. A rollback is recovery, not a successful release.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| S1 | Developer | Submit tested change and release notes | Review package → S2 |
| S2 | Reviewer | Approve code and checks? | Changes requested → S3; Approved → S4 |
| S3 | Developer | Revise change and rerun checks | Updated change → S2 |
| S4 | Release owner | Deploy candidate; checks pass? | Verification failed → S5; Verification passed → S7; External blocker; no release → S8 |
| S5 | Release owner | Roll back and record failure | Rollback complete → S6 |
| S6 | Developer | Investigate failed candidate | Fix available → S3 |
| S7 | Release owner | Confirm production checks and release | End |
| S8 | Release owner | Hold candidate with named blocker | End |
S1 → S2 → S4 → S5 → S6 → S3 → S2 → S4 → S7. The repair returns through review before redeployment.
7. Invoice payment
Begins at invoice receipt; ends at accepted payment instruction and remittance or a recorded dispute. Settlement is outside the boundary.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| V1 | Supplier | Submit invoice and order reference | Invoice received → V2 |
| V2 | Accounts payable | Invoice matches order and receipt? | Mismatch → V3; Match → V4 |
| V3 | Supplier | Correct invoice or provide evidence | Corrected invoice → V2 |
| V4 | Approver | Authorize payment? | Disputed or denied → V5; Authorized → V6 |
| V5 | Accounts payable | Record dispute and notify supplier | End |
| V6 | Accounts payable | Submit payment; accepted? | Instruction rejected → V7; Instruction accepted → V8 |
| V7 | Accounts payable | Investigate payment rejection | Cause resolved; duplicate checked → V6 |
| V8 | Accounts payable | Send remittance and update ledger | End |
V1 → V2 → V3 → V2 → V4 → V6 → V7 → V6 → V8. The retry requires a duplicate check, not just another click.
8. Content approval
Begins with a draft package; ends with the public route verified. A preview approval and a live publication are different states.
| ID | Owner | Step | Next routes |
|---|---|---|---|
| C1 | Writer | Submit draft with sources and assets | Review package → C2 |
| C2 | Editor | Approve argument and evidence? | Changes requested → C3; Approved → C4 |
| C3 | Writer | Resolve editorial revisions | Revised draft → C2 |
| C4 | Publisher | Page layout and assets accepted? | Copy or rights issue → C5; Layout accepted → C6 |
| C5 | Writer | Resolve missing copy or asset rights | Changed material: review → C2 |
| C6 | Publisher | Publish; public route verified? | Route or asset failure → C7; Verified → C8 |
| C7 | Publisher | Correct release or restore prior version | Corrected release → C6 |
| C8 | Publisher | Record verified article and revision | End |
C1 → C2 → C4 → C5 → C2 → C4 → C6 → C7 → C6 → C8. Editorial and release failures have different return paths.
Follow the refund handoff one step at a time
The refund replay below follows one valid path: the customer submits a request, support requests missing evidence, finance approves and submits the refund, a processor error is investigated, then support sends the accepted reference. The moving highlight represents the case’s position in this illustrative workflow. It does not simulate real payment timing.

At R5 → R6, finance approving an amount and the processor accepting a refund are separate checkpoints. R6 → R8 represents a technical failure after approval. The case stays with finance until the failure is resolved; it does not return to the customer merely because a payment request failed.
If you animate your own map, keep the lane names and the full route visible. Reveal one case through the agreed static workflow, then supply a still version so readers can inspect the return arrows. The sequence-diagram animation guide explains how to keep a replay focused on one route.
Adapt the files without breaking responsibility
- Choose the workflow with the closest boundary. Delete irrelevant roles before adding new ones.
- Keep stable node IDs while changing labels. Every edge source and target must still point to a node.
- Give every task one accountable lane. If two people independently perform work, create separate tasks or explicitly model the collaboration.
- For each decision, list the meaningful outcomes and their destinations. Do not label both branches “next”.
- For a rework loop, identify the failed condition, the owner who fixes it and the step that validates the correction.
- Read one successful case and one exception aloud with the actual owners. Make the receiving owner describe what makes the handoff acceptable.
JSON is the complete editable model, CSV is the compact step-and-routing view, and Mermaid is the editable drawing source. The SVG is a scalable reading copy. Keep those roles clear when updating the process: changing a label in an exported image does not update its source data.
Review the map against a real case
Start with the most recent rejected, delayed or reopened case. Its route usually reveals more than a perfectly ordinary completion. Mark where responsibility changed, what information the receiver lacked and which step was repeated.
Then check the ends. “Sent to finance” is a handoff, “refund instruction accepted and customer notified” is an outcome. “Escalated” is a change of owner, “specialist accepts the case and returns a next action” defines a usable exchange. The right endpoint depends on your scope, but it must be explicit.
Label whether the map shows the process people follow today or a proposed change, and name the person responsible for keeping it current.
If the problem is a slow handoff, record two timestamps: when the sender makes the package ready and when the receiver accepts it. That gap measures queue time for the exchange you actually drew. Count how often the receiver returns work for missing information as a separate signal. A diagram alone cannot establish either delay or improvement; connect it to case records before claiming a result.