Lecture3-ProcessModeling1
Lecture3-ProcessModeling1
1
Learning Objectives
Process Modelling
• Describe the essential concepts of process models, namely how process models relate to
process instances.
• Definition of the Process Architecture.
• Explain the four main structural blocks of branching and merging in process
models. These define exclusive decisions, parallel execution, inclusive decisions,
and repetition
• Learn how to use sub-processes to reduce
the model’s complexity, and how to reuse these sub-process models from within
different process models
• Exercise 3 -4
Course structure
Process
Week 2
identification
Process
Weeks 12-14 Process Weeks 5-7
monitoring and
controlling analysis
Process
monitoring and Process
controlling analysis
Executable
Executable Insights
Insights on
on
process
process weaknesses
weaknesses and
and
model
model their
their impact
impact
Process Process
implementation To-be
To-be process
process redesign
model
model
Business Process Model and Notation (BPMN)
• OMG standard
• Suitable for capturing models for process discovery, analysis, and implementation
• Supported by numerous tools, incl.
• Apromore – available for free to students in this course (see Slack)
• GBTEC BIC Design
• Bizagi Process Modeler (free)
• Signavio (academic version: academic.signavio.com)
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
Let’s start modeling – break it down
Order-to-cash
end
activity
Reject order event
Items not in
Order
stock
rejected
Check stock split gateway end
availability
Purchase event
order Items in
received stock Confirm Emit Archive
Ship goods
start order invoice order
Order
event fulfilled
Naming conventions
start
A start event triggers a new process instance
event
by generating a token that traverses the
sequence flow (“tokens source”)
end
event
An end event signals that a process instance has
completed with a given outcome by consuming
a token (“tokens sink”)
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
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
split join fulfilled
Ship goods
A little more on gateways: XOR Gateway
condition
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
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.
Solution 1
Order distribution process
XOR-split XOR-join
AND-split AND-join
Solution 2
Order distribution process
AND-split AND-join
XOR-split XOR-join
OR Gateway
cond1
• Model in blocks
• Pair up each AND-split with an AND-join and each XOR-split with a XOR-join, whenever possible
• Exception: sometimes a XOR-split leads to two end events – different outcomes (cf. order
management example)
Rework and repetition
A A
C = C
B B
B B
A
= A
C C
How this process starts? How it ends?
Collect Sort
mail mail
New mail Document
arrived requisition
Not compiled
Check acceptable Compile
Register
mail for document
mail
compliance requisition
Document
New email Acceptable response
arrived
prepared
Prepare
Capture
document
matter details
response
Physical
file
printed
Capture party Print
Pay fee
details physical file
What’s wrong with this model? How to fix it?
X
Process Modelling Viewpoints
Organization
Who?
Lanes &
Pools
What?
Tasks When?
Events
Flows
Gateways
Which?
Data Objects,
Data / Materials Stores
Organizational Elements in BPMN – Pools & Lanes
Pool
Captures a resource class. Generally used to model a business party (e.g. a
whole company)
Pool
Lane
A resource sub-class within a pool. Generally used to model departments (e.g.
shipping, finance), internal roles (e.g. Manager, Associate), software systems
(e.g. ERP, CRM)
Lane
Pool
Lane
Lane
Lane
Order-to-cash process with lanes
Message Flow
Pool 2
Pool 2
Receive
Pool 1
Send Receive
Pool 1
Send
Order-to-cash process with a black-box customer pool
Pools, Lanes and Flows: syntactic rules
1. A Sequence Flow cannot cross the boundaries of a Pool (message flows can)
2. Both Sequence Flow and Message Flow can cross the boundaries of Lanes
3. A Message Flow cannot connect two flow elements within the same pool
One more guideline…
Which?
Data Objects,
Data / Materials Stores
BPMN Information Artifacts
Send
invoice
Confirm Archive
Items in order order
stock Order
fulfilled
Check stock
Ship goods
availability
Purchase
order Items not in
received stock
Reject order
Order
rejected
Purchase Invoice
Order Purchase
Purchase Purchase Send Order
Order Order invoice
[checked]
Confirm Archive
Items in order order
stock Order
fulfilled
Check stock
Ship goods
availability
Purchase
order Items not in
received stock
Reject order
Order Orders DB
rejected Purchase Shipment
Order notice
Warehouse DB
Purchase Purchase
Order Order
[rejected] [approved]
Clear vendor
Ship goods
line items
BPMN Poster (link in “Readings” page)