Pools and messages
Show the outside parties your process deals with, and the messages that pass between you.
A process often talks to someone outside it, such as a customer, a carrier or a bank. Declare each one with a pool line near the top.
The app draws a pool as a band across the diagram, above your process. Add (below) to put it below. A pool shows that the party exists and what passes between you. It can also show the party's own steps, as described in A pool's own steps.
Then put messages under the steps that send or receive them. => sends a message to a pool and <= receives one. After it, write the pool's name, a colon and what's sent:
process Order tracking
pool Customer
pool Carrier (below)
start:message Order placed
<= Customer: Order
send Book pickup
=> Carrier: Pickup request
receive Pickup confirmed
<= Carrier: Picked up
send Notify customer
=> Customer: Tracking update
end Order shippedEach message is a dashed line between the step and the pool's band, labeled with what's sent. Message lines don't change how steps connect.
On the canvas, select a step or a pool and click Add message in the bar above it. See Connect steps for the other ways.
A pool's own steps
When what the other party does matters too, indent its steps under its pool line. They're its own path, from a start event to an end event, drawn inside its band.
Messages join them to your steps. After => or <=, name the other step instead of the pool.
process Order handling
pool Customer
start Needs goods
send Place order
=> Receive order: Order
receive Get invoice
end Goods ordered
start:message Receive order
user Check order
send Send invoice
=> Get invoice: Invoice
end Order handled- Flows stay inside the pool. Between your process and the pool, send a message.
- A pool's steps can have lanes of their own. See Lanes in a pool.
- The app reads a message's other end as a pool first, then as a step. If a step has the same name as a pool, point to the step by its
#id. =>and<=lines right under thepoolline, before its steps, are the pool's own messages, to or from another pool.- You can declare the pool at the top with the others, then write its
poolline again over its steps later on. The second line opens its block. - A message written at both ends is one message. That's
=>under the sender and<=under the receiver, with the same text.
On the canvas, right-click a pool and choose Add steps inside to give it a start and an end to build on. Drag from one of your steps to a step in the pool to send it a message.
Lanes in a pool
When the other party has roles of its own, split its steps into lanes. Write lane and lanes lines indented under the pool line. They work as they do for your process:
lane Nameswitches lane for the steps after it.lanes A | Bsets the order.Department > Teamputs a lane inside another.- A step written before the pool's first
laneline goes in its first lane.
process Quotes
lanes Sales | Warehouse
pool Customer
lanes Buying > Requester | Buying > Approver | Accounts
lane Requester
start Need found
send Ask for quote
=> Quote request: Quote request
lane Approver
receive Approve quote
lane Accounts
task Pay
end Paid
lane Sales
start:message Quote request
send Send quote
=> Approve quote: Quote
lane Warehouse
task Ship
end ShippedA pool's lanes are its own. A step in the pool goes only in one of them, never in one of your process's lanes.
A lane name only has to be unique within its own party. So the pool and your process can each have a lane called Sales. A pool with lanes shows its name up its header band, and each lane's name up a band beside it, like your process.
On the canvas, right-click a pool and choose Add lane, or add one from the Lanes list in its Properties. Its lanes then work like your process's. You can rename and reorder them, put one inside another, and delete them. Move the pool's steps between them by dragging, or with the lane menu in their tools.
In the BPMN XML, a pool's lanes are a lane set in its participant's own process. The app reads them back from files made with other tools.
Pools side by side
When several outside parties each deal with a different part of your process, put them side by side. Write beside and the name of the pool to their left.
- Pools beside each other form a row, on the side of the process its first pool is on.
- Each pool in a row is as wide as what it holds. It sits over or under the steps it exchanges messages with.
- A pool beside none is a band as wide as the process.
multiple marks a party that many take part as, such as many nominators. The app draws three bars at the bottom of the pool. Write the options together in one pair of brackets, in any order:
process Prize selection
pool Nominator (below, multiple)
start:message Form received
<= Send forms: Nomination form
send Return form
=> Collect forms: Completed form
end Form returned
pool Assembly (below, beside Nominator)
pool Laureate (below)
start Year starts
send Send forms
receive Collect forms
send Send recommendations
=> Assembly: Recommendations
send Announce winner
=> Laureate: Prize
end Prize awarded- A pool beside another takes that pool's side. Leave out
below, or write it to match. - To sit beside a pool whose name has a comma or brackets, give that pool an id and name it by its
#id. - In the BPMN XML, each pool's place is its shape's bounds, and
multipleis the participant's multiplicity. Files from other tools keep their pools side by side when their boxes sit next to each other.
Envelopes on messages
BPMN can draw the message itself on its line, as an envelope. A white envelope marks the message that starts an exchange, and a grey one the reply.
End a message line with (envelope: start) or (envelope: reply). A message with neither has no envelope, so the app draws none unless you ask for it.
process Quote request
pool Customer
start:message Request received
<= Customer: Quote request (envelope: start)
user Prepare quote
send Send quote
=> Customer: Quote (envelope: reply)
end Quote sent- Write the option last on the line, after the name. A message with no name can have one too:
=> Customer (envelope: start). - A message's name can't end with
(envelope: …), since the app reads that as the option. - A message written at both ends can carry the option at either end. If both have one, they must match.
- The envelope sits in the middle of the line's longest stretch, clear of the label.
- In the BPMN XML, it's
messageVisibleKindon the message's edge:initiatingforstartandnon_initiatingforreply. Files from other tools keep their envelopes.
On the canvas, select a message and choose Show envelope in the bar above it, or in its right-click menu.
Rules
- A message goes between two parties. That's a step of your process and a pool or one of its steps, or two pools. It never goes between two steps of one party. That's a flow.
- Tasks can send and receive. A start or catch event only receives, and a throw or end event only sends. Make it a message event, as in
start:message. - A message boundary event receives too. See A message from another party.
- Timer, error and other typed events can't have messages, and nor can gateways.
- A message ends at a step or a pool, never at the process's own pool. The process is always drawn with its steps showing, so its messages go to the step that sends or receives them.
- In the BPMN XML, pools become participants in a collaboration, and messages become message flows. A pool with steps is a participant with a process of its own.
Once a diagram has pools, the checks also suggest messages. They do this for every message event, for every send or receive step whose name mentions a pool, and for every pool that has none. See What each check means.
Pool names with special characters
A pool whose name has ->, : or # in it needs an id. Its messages name it by that id:
pool Sales -> EU #sales_eu
send Send order
=> #sales_eu: Order