1 Process
1 Process
Process Modeling
1
Business Process
Lifecycle
Purposes of process modeling
• Communication
• Documentation Process
identification
• Analysis (e.g. simulation) Conceptual
Process
Process architecture
architecture
Conformance
Conformance and
and Process As-is
As-is process
process
performance
performance insights
insights discovery model
model
Process
Process
Executable monitoring and
controlling analysis
Executable
Executable Insights
Insights on
on
process
process weaknesses
weaknesses and
and
model
model their
their impact
impact
Process Process
• Automation implementation To-be
To-be process
process
model
model
redesign
• Testing
Conceptual 3
BPMN from 10,000 miles…
start end
activity event gateway sequence
flow
Let’s start modeling
Order-to-cash
Check stock
availability
Purchase
order
received
8
Let’s start modeling – break it down
Order-to-cash
end
Reject order
activity Items not in
Order
event
stock
rejected
Check stock
availability
split gateway end
Purchase
order Items in event
received stock Confirm Emit Archive
Ship goods
start order invoice order
Order
event fulfilled
Naming conventions
• Event: noun + past-participle verb (e.g. insurance claim lodged)
• Activity: verb + noun (e.g. assess credit risk)
10
Execution of a process model
The “token game”
Order #1
Order #2
Order #3
Reject order
Items not in
Order
stock
rejected
Check stock
availability
Purchase
order Items in
received stock Confirm Emit Archive
Ship goods
order invoice order
Order
fulfilled
11
A little bit more on events…
end
An end event signals that a process instance has event
completed with a given outcome by consuming
a token (“tokens sink”)
12
Order-to-cash example revisited…
[…] If the purchase order is confirmed, an invoice is emitted and
the goods requested are shipped (in any order). The process
completes by archiving the order. […]
Reject order
Items not in
Order
stock
rejected
Check stock
availability
Purchase
order Items in
received stock Confirm Emit Archive
Ship goods
order invoice order
Order
fulfilled
13
First try
Order-to-cash
Reject order
Items not in
Order
stock
rejected
Check stock
availability split Emit invoice
Purchase
order Items in
received stock Confirm Emit Archive
Ship goods
order invoice order
Order
Ship goods
14
A little more on gateways: XOR Gateway
5
A little more on gateways: AND Gateway
18
Revised order-to-cash process model
Reject order
Items not in
stock Order
rejected
Check stock
availability XOR-split Send invoice
Purchase
order Items in
received stock
Archive
Confirm order
order
Order
AND-split AND-join fulfilled
Ship goods
19
Between XOR and AND
Order distribution process
A company has two warehouses that store different products:
Amsterdam and Hamburg. When an order is received, it is
distributed across these warehouses: if some of the relevant
products are maintained in Amsterdam, a sub-order is sent
there; likewise, if some relevant products are maintained in
Hamburg, a sub-order is sent there. Afterwards, the order is
registered and the process completes.
20
Solution 1
Order distribution process
XOR-split XOR-join
AND-split AND-join
21
Solution 2
Order distribution process
AND-split AND-join
XOR-split XOR-join
22
OR Gateway
cond1
24
What join type do we need here?
25