Process and lanes
Name the process, then put each step in the lane of the role that does it.
The process line sets the process name. Put it first.
Lanes are optional. Leave them out when one person or team does all the work:
process Send invoice
start Order shipped
service Create invoice
send Email invoice
end Invoice sentUse lanes for roles
When more than one role is involved, give each one a lane:
lanes A | B | Cfixes their order from top to bottom.lane Bputs every node after it in lane B, until the nextlaneline.- A lane you switch to without listing it in
lanesgoes after the others, in the order you first use it. - Nodes that come before any
laneline go in the first lane.
Switching lanes doesn't break a path. In this example each step still connects to the one before it, across three lanes:
process Customer refund
lanes Customer | Support | Finance
lane Customer
start Refund requested
lane Support
user Check order
lane Finance
service Issue refund
lane Customer
end Refund receivedLanes inside a lane
To split a lane, such as a department into its teams, write the outer lane's name, >, and the inner lane's name. Steps go in the inner lanes, so switch to those, not to the outer lane.
process Order fulfilment
lanes Sales | Operations > Warehouse | Operations > Shipping
lane Sales
start Order received
user Check order
lane Warehouse
manual Pick items
lane Shipping
manual Hand to carrier
end Order shippedlane Operations > Warehouseworks too, and makes the same lane.- A lane name is used once, so a lane can't be inside two others.
- Lanes can go several levels deep. One level is usually enough to read.
- In the BPMN XML, the inner lanes are a child lane set of the outer lane.
Lanes or pools
Lanes are for your own roles and departments. For a party outside your organization, use a pool. That covers a customer you exchange messages with, or a supplier.
A pool can have lanes of its own too. See Pools and messages and Lanes in a pool.
To describe the process itself, add doc: lines before the first node. See Documentation and notes.