BPMN basics
The few BPMN elements you'll use most, what each one means, and how to write it in Flowmark.
BPMN is a standard way to draw a business process: who does what, in which order, and what happens when things go wrong. A handful of elements is enough to read and draw most processes. Each one below comes with the Flowmark that draws it.
For the messages between people and systems in one interaction, such as a sign-in or an API call, draw a sequence diagram instead. For the tables of a database, draw an ER diagram.
Events: where it starts, waits and ends
An event is something that happens. It's drawn as a circle.
- A start event shows what starts the process. Every process has at least one.
- An end event shows how it finishes. Give each outcome its own end event.
- An intermediate event waits for something on the way, such as a day passing or a message arriving.
process Parcel delivery
start Parcel ordered
catch:timer(P1D) Next day reached
manual Deliver parcel
end Parcel deliveredName events as a state: "Parcel ordered", "Invoice paid". Events can have a type, such as message or timer. See Events.
Tasks: the work
A task is one piece of work, drawn as a rounded box. Name it as a verb and an object, such as "Approve invoice".
The type says how the work is done: by a person in a system, by the system on its own, by hand, or by sending or receiving a message.
process Expense claim
start Expense incurred
user Submit expense claim
service Check spending limit
manual File paper receipt
end Claim submittedSee Steps for every task type.
Sequence flows: the order
A sequence flow is an arrow from one element to the next. It shows the order the work happens in.
In Flowmark, lines that follow each other connect on their own. -> lines draw arrows to anywhere else.
process Support request
start Request received
user Answer request
xor Customer happy?
yes -> Request closed
no -> Hand to specialist
end Request closed
user Hand to specialist
end Request escalatedArrows out of a decision carry labels, such as "yes" and "no". See Flows and labels.
Gateways: decisions and parallel paths
A gateway splits the flow into branches, or merges branches back together. It's drawn as a diamond.
- An exclusive gateway (XOR) takes one path: a decision.
- A parallel gateway (AND) takes every path at once, and a second one waits for all of them.
process Office move
start Move approved
and #split
-> Pack equipment
-> Book movers
manual Pack equipment
and #done
end Move ready
user Book movers
-> #doneSee Gateways for all five kinds.
Lanes: who does it
A lane is a horizontal band for one role or department. Each step sits in the lane of whoever does it, so the diagram shows hand-overs at a glance.
process Leave request
lanes Employee | Manager
lane Employee
start Leave needed
user Request leave
lane Manager
user Approve leave
end Leave approvedSee Process and lanes.
Pools and messages: outside parties
The whole process sits in one pool. A party outside your organization, such as a customer or a supplier, gets a pool of its own. Messages, drawn as dashed lines, show what passes between you.
process Quote request
pool Customer
start:message Request received
<= Customer: Quote request
user Prepare quote
send Send quote
=> Customer: Quote
end Quote sentSee Pools and messages.
Boundary events: when something interrupts
A boundary event sits on the edge of a task. It catches something that happens while the task runs, such as a deadline passing or an error. It leads to what happens next.
process Contract signature
start Contract sent
receive Receive signed contract
on:timer(P7D) No reply in a week -> Call customer
end Contract signed
user Call customer
end Customer calledSee Boundary events.
Read a process
The canvas helps you read a process as well as draw it:
- With nothing selected, the status bar counts the hand-offs between lanes, the waits and the longest path. Select a count to see those elements. See A process at a glance.
- Trace shows what a step leads to and what leads to it: its flows, messages and data.
- Walk through steps through the process one move at a time, picking the way at each gateway, and Present shows it full screen.
- The Without data and notes detail level leaves out data objects, data stores and notes, so the flow stands out.
- A call activity opens the process it calls, and any element can link to another diagram, such as a step to the sequence diagram that shows how it's done.
Next
Try the Quickstart to draw your first diagram, or see the common patterns these elements make up.
To draw a process by hand on the canvas, start with these pages: