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

Consistent conventions let readers inspect the workflow without guessing.
ElementMeaning in these examplesCheck
LaneOne named role owns the stepDo not leave shared ownership implicit
ActionA verb-led activityPlace it in the role that performs it
DecisionA question with named outgoing conditionsEvery outcome has a destination
HandoffA connection between different ownersState what the receiver must accept
Rework loopAn exception returns to a prior stepName the cause and the re-entry condition
EndA distinct completion or stop outcomeRejected 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

Choose by the responsibility change you need to explain.
ExampleMain handoffException to inspect
1. Refund requestSupport → financeMissing evidence and processor error
2. Customer onboardingImplementation → supportRejected acceptance and incomplete handover
3. HiringRecruiter → managerMissing scorecard evidence and counteroffer
4. Purchase approvalProcurement → budget ownerMaterial request changes
5. Incident responseResponder → incident leadFailed mitigation
6. Software releaseReviewer → release ownerRollback followed by fresh review
7. Invoice paymentAccounts payable → approverMismatch and rejected instruction
8. Content approvalEditor → publisherMaterial 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.

Three horizontal responsibility lanes for refund request, with owned activities, labeled decisions and return paths.
Finance accepts a complete case only when the order, refundable amount and policy evidence are present. Support remains responsible for the customer response.
Refund request step and routing table.
IDOwnerStepNext routes
R1CustomerSubmit order ID and reasonRequest logged → R2
R2SupportCheck order and policy?Evidence missing → R3; Ineligible → R4; Eligible and complete → R5
R3CustomerSupply missing evidenceEvidence supplied → R2
R4SupportRecord denial and notifyEnd
R5FinanceApprove refundable amount?Denied with reason → R4; Approved → R6
R6FinanceSubmit refund; accepted?Processor accepted → R7; Processor error → R8
R7SupportSend reference and closeEnd
R8FinanceInvestigate payment errorIssue 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.

Editable JSON · Mermaid source · Step CSV · SVG drawing

2. Customer onboarding

Begins with setup data for an agreed scope; ends when support accepts the handover and confirms ownership.

Three horizontal responsibility lanes for customer onboarding, with owned activities, labeled decisions and return paths.
The implementation-to-support handoff includes accepted workflow evidence, configuration and open issues. A kickoff meeting alone does not satisfy it.
Customer onboarding step and routing table.
IDOwnerStepNext routes
O1Customer adminSubmit agreed setup dataSetup package → O2
O2ImplementationCheck scope and completenessIncomplete → O3; Complete → O4
O3Customer adminCorrect data or scopeCorrected → O2
O4ImplementationConfigure and run acceptance caseReady for acceptance → O5
O5Customer adminAccept workflow result?Rejected with specific issue → O6; Accepted → O7
O6ImplementationCorrect configurationFixed → O4
O7SupportHandover package complete?Missing evidence → O8; Accepted → O9
O8ImplementationComplete handover evidencePackage complete → O7
O9SupportConfirm support ownerEnd

O1 → O2 → O4 → O5 → O6 → O4 → O5 → O7 → O9. Customer rejection returns to configuration, rather than disappearing into a generic “review” box.

Editable JSON · Mermaid source · Step CSV · SVG drawing

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.

Three horizontal responsibility lanes for hiring and offer approval, with owned activities, labeled decisions and return paths.
The manager receives evidence against the scorecard, not merely a calendar invitation. The recruiter receives an authorized offer before contacting the candidate.
Hiring and offer approval step and routing table.
IDOwnerStepNext routes
H1RecruiterMeets role scorecard?Not qualified → H2; Qualified → H3
H2RecruiterSend decline and record reasonEnd
H3Hiring managerInterview evidence supports hire?Do not proceed → H2; Evidence incomplete → H4; Proceed → H5
H4RecruiterResolve missing evaluation evidenceEvidence ready → H3
H5Hiring managerAuthorize offer within bandAuthorized offer → H6
H6CandidateAccept offer?Accept → H8; Decline or counter → H7
H7RecruiterReview counteroffer or reopen searchRevised offer allowed → H5; Reopen candidate search → H1
H8RecruiterRecord accepted offer for onboardingEnd

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.

Three horizontal responsibility lanes for purchase approval, with owned activities, labeled decisions and return paths.
A material quote or specification change goes back to the completeness check and budget approval. Approval of one version does not authorize every revision.
Purchase approval step and routing table.
IDOwnerStepNext routes
P1RequesterSubmit specification and quoteRequest → P2
P2ProcurementRequest complete?Incomplete → P3; Complete → P4
P3RequesterAdd missing detailResubmitted → P2
P4Budget ownerApprove spend and authority?Denied → P5; Approved → P6
P5ProcurementRecord rejection and return reasonEnd
P6ProcurementSupplier valid for order?Validation failed → P7; Supplier valid → P8
P7RequesterResolve supplier or specification issueMaterial change: review again → P2
P8ProcurementSend purchase order and record commitmentEnd

P1 → P2 → P4 → P6 → P7 → P2 → P4 → P6 → P8. Supplier validation triggers a revised request and a fresh approval.

Editable JSON · Mermaid source · Step CSV · SVG drawing

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.

Three horizontal responsibility lanes for service incident response, with owned activities, labeled decisions and return paths.
The lead owns prioritization and closure; the responder validates recovery. This simplified map sequences the first status update before the mitigation checkpoint; investigation may continue while communications prepares it.
Service incident response step and routing table.
IDOwnerStepNext routes
I1ResponderCustomer impact confirmed?No incident → I2; Customer impact confirmed → I3
I2ResponderRecord false alarm and closeEnd
I3Incident leadDeclare incident and assign ownersConfirmed impact and message owner → I4
I4CommunicationsPublish initial confirmed statusStatus published; mitigation continues → I5
I5ResponderMitigation restored service?Not recovered → I6; Recovery validated → I7
I6Incident leadChoose next mitigation or rollbackNext approved action → I5
I7CommunicationsPublish recovery statusRecovery communicated → I8
I8Incident leadConfirm follow-up owners and closeEnd

I1 → I3 → I4 → I5 → I6 → I5 → I7 → I8. A failed mitigation loops back to technical work, not to a premature recovery announcement.

Editable JSON · Mermaid source · Step CSV · SVG drawing

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.

Three horizontal responsibility lanes for software release, with owned activities, labeled decisions and return paths.
The release owner receives the approved version, check results and rollback procedure. Approval becomes stale when the code changes.
Software release step and routing table.
IDOwnerStepNext routes
S1DeveloperSubmit tested change and release notesReview package → S2
S2ReviewerApprove code and checks?Changes requested → S3; Approved → S4
S3DeveloperRevise change and rerun checksUpdated change → S2
S4Release ownerDeploy candidate; checks pass?Verification failed → S5; Verification passed → S7; External blocker; no release → S8
S5Release ownerRoll back and record failureRollback complete → S6
S6DeveloperInvestigate failed candidateFix available → S3
S7Release ownerConfirm production checks and releaseEnd
S8Release ownerHold candidate with named blockerEnd

S1 → S2 → S4 → S5 → S6 → S3 → S2 → S4 → S7. The repair returns through review before redeployment.

Editable JSON · Mermaid source · Step CSV · SVG drawing

7. Invoice payment

Begins at invoice receipt; ends at accepted payment instruction and remittance or a recorded dispute. Settlement is outside the boundary.

Three horizontal responsibility lanes for invoice payment, with owned activities, labeled decisions and return paths.
The approver receives match evidence. Accounts payable must check for a prior accepted instruction before retrying a payment with an uncertain result.
Invoice payment step and routing table.
IDOwnerStepNext routes
V1SupplierSubmit invoice and order referenceInvoice received → V2
V2Accounts payableInvoice matches order and receipt?Mismatch → V3; Match → V4
V3SupplierCorrect invoice or provide evidenceCorrected invoice → V2
V4ApproverAuthorize payment?Disputed or denied → V5; Authorized → V6
V5Accounts payableRecord dispute and notify supplierEnd
V6Accounts payableSubmit payment; accepted?Instruction rejected → V7; Instruction accepted → V8
V7Accounts payableInvestigate payment rejectionCause resolved; duplicate checked → V6
V8Accounts payableSend remittance and update ledgerEnd

V1 → V2 → V3 → V2 → V4 → V6 → V7 → V6 → V8. The retry requires a duplicate check, not just another click.

Editable JSON · Mermaid source · Step CSV · SVG drawing

8. Content approval

Begins with a draft package; ends with the public route verified. A preview approval and a live publication are different states.

Three horizontal responsibility lanes for content approval, with owned activities, labeled decisions and return paths.
The publisher receives approved copy plus asset permissions and accessible descriptions. Material copy changes return through editorial approval.
Content approval step and routing table.
IDOwnerStepNext routes
C1WriterSubmit draft with sources and assetsReview package → C2
C2EditorApprove argument and evidence?Changes requested → C3; Approved → C4
C3WriterResolve editorial revisionsRevised draft → C2
C4PublisherPage layout and assets accepted?Copy or rights issue → C5; Layout accepted → C6
C5WriterResolve missing copy or asset rightsChanged material: review → C2
C6PublisherPublish; public route verified?Route or asset failure → C7; Verified → C8
C7PublisherCorrect release or restore prior versionCorrected release → C6
C8PublisherRecord verified article and revisionEnd

C1 → C2 → C4 → C5 → C2 → C4 → C6 → C7 → C6 → C8. Editorial and release failures have different return paths.

Editable JSON · Mermaid source · Step CSV · SVG drawing

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.

A step highlight follows the refund case across customer, support and finance lanes, including missing evidence and a payment retry.
Follow responsibility through the correction loop before the accepted refund returns to support for notification. Play the animated sketch

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

  1. Choose the workflow with the closest boundary. Delete irrelevant roles before adding new ones.
  2. Keep stable node IDs while changing labels. Every edge source and target must still point to a node.
  3. Give every task one accountable lane. If two people independently perform work, create separate tasks or explicitly model the collaboration.
  4. For each decision, list the meaningful outcomes and their destinations. Do not label both branches “next”.
  5. For a rework loop, identify the failed condition, the owner who fixes it and the step that validates the correction.
  6. 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.