ISD534 BPM - Slides 063 To 108
ISD534 BPM - Slides 063 To 108
@ CSF-KU
Information Systems Department
What is process modeling?
63
Spring 2018
Department @ CSF-KU
Information Systems
Business Process
Lifecycle
64
Spring 2018
@ CSF-KU
Information Systems Department
Executable
• Automation 65
• Testing
Conceptual
Business Process Model and Notation
(BPMN)
Spring 2018
• Supported by numerous tools: bpmn.org lists
Department @ CSF-KU
Information Systems
over 70 tools
Spring 2018
process
Department @ CSF-KU
Information Systems
• BPMN 1.0 specification first released in May
2004, and put forward as a standard proposal
in Feb 2006
67
• BPMN 2.0 released in Jan 2011
©2011 IS Department, CSF, KU
BPMN Sample Tools
Spring 2018
• Signavio (http://www.signavio.com/) - subscription
• For academic purposes: http://academic.signavio.com
Department @ CSF-KU
Information Systems
• Oracle BPA – “kind of free”
Spring 2018
four types of core elements:
@ CSF-KU
Information Systems Department
start end
activity event gateway sequence
flow
69
Let’s start modelling:
Order-to-Cash
• An order-to-cash process is triggered by the receipt of a
Spring 2018
purchase order from a customer. Upon receipt, the
purchase order has to be checked against the stock to
determine if the requested item(s) are available.
Department @ CSF-KU
Information Systems
Depending on stock availability the purchase order may
be confirmed or rejected.
• If the purchase order is confirmed, an invoice is emitted
and the goods requested are shipped. The process
completes by archiving the order or if the order is
70
rejected.
©2011 IS Department, CSF, KU
Let’s start modelling:
Order-to-Cash (Break it down) – 1
Spring 2018
• An order-to-cash process is triggered by the
Department @ CSF-KU
Information Systems
• Upon receipt, the purchase order has to be
Spring 2018
• Depending on stock availability the purchase
Department @ CSF-KU
Information Systems
• If the purchase order is confirmed, an invoice is
Spring 2018
activity
Reject order event
Items not in
Order
stock
rejected
Check stock split gateway end
@ CSF-KU
Information Systems Department
availability
Purchase event
order Items in
received stock Confirm Emit Archive
start Ship goods
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) 73
Execution of a process model
The “token game”
Order #1
Order #2
Order #3
Spring 2018
Reject order
Items not in
Order
stock
rejected
Check stock
availability
@ CSF-KU
Information Systems Department
Purchase
order Items in
received stock Confirm Emit Archive
Ship goods
order invoice order
Order
fulfilled
74
A little bit more on events…
Spring 2018
by generating a token that traverses the
sequence flow (“tokens source”)
Department @ CSF-KU
Information Systems
75
start
event
Spring 2018
and the goods requested are shipped (in any order). The
process completes by archiving the order. […]
Department @ CSF-KU
Information Systems
76
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
Spring 2018
Reject order
Items not in
Order
@ CSF-KU
stock
Ship goods
77
A little more on gateways: XOR Gateway
Spring 2018
condition
@ CSF-KU
Information Systems Department
XOR-split takes one outgoing branch
¬ condition
@ CSF-KU
A little more on gateways: AND Gateway
Spring 2018
@ CSF-KU
Information Systems Department
AND-split takes all outgoing branches
@ CSF-KU
Revised order-to-cash process model
Spring 2018
Reject order
Items not in
stock Order
rejected
Check stock
XOR-split Send invoice
@ CSF-KU
Information Systems Department
availability
Purchase
order Items in
received stock
Archive
Confirm order
order
Order
AND-split AND-join fulfilled
Ship goods
82
Between XOR and AND
Order distribution process
Spring 2018
products: Amsterdam and Hamburg
• When an order is received, it is distributed across these
warehouses
Department @ CSF-KU
Information Systems
83
• If some of the relevant products are maintained in Amsterdam, a sub-order is
sent there
Spring 2018
XOR-split XOR-join
@ CSF-KU
Information Systems Department
AND-split AND-join
84
Solution 2
Order distribution process
Spring 2018
AND-split AND-join
@ CSF-KU
Information Systems Department
XOR-split XOR-join
85
OR Gateway
An OR Gateway provides a mechanism to create and
synchronize n out of m parallel flows.
Spring 2018
cond1
@ CSF-KU
Information Systems Department
OR-split takes one or more branches depending
condn
on conditions
Spring 2018
@ CSF-KU
Information Systems Department
87
What join type is needed here?
@ CSF-KU
Guidelines: Naming Conventions - 1
Spring 2018
• Give a name to every Event and Task
Department @ CSF-KU
Information Systems
name and possibly complement
• Issue Driver License, Renew License via Agency
89
Spring 2018
• Invoice received, Claim settled, …
Department @ CSF-KU
Information Systems
• Avoid generic verbs such as
• Handle, Record, …
@ CSF-KU
One more guideline…
• Model in Blocks
Spring 2018
• Pair up each AND-split with an AND-join and
Department @ CSF-KU
Information Systems
each XOR-split with an XOR-join, whenever
possible
• Exception: sometimes an XOR-split leads to two end
events – different outcomes (order management 92
example)
©2011 IS Department, CSF, KU
Rework and repetition:
Address ministerial correspondence
Spring 2018
received, it is registered into the system
Department @ CSF-KU
Information Systems
can be prepared
Spring 2018
• If the registrar does not approve the response,
Department @ CSF-KU
Information Systems
cabinet officer for review
been approved 94
Spring 2018
• The model looks like this:
Department @ CSF-KU
Information Systems
XOR-join: entry point XOR-split: exit point
95
Spring 2018
Collect Sort
mail mail
New mail Document
arrived requisition
Not compiled
Check acceptable Compile
Register
mail for document
mail
Department @ CSF-KU
Information Systems
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
96
Spring 2018
Pools
What?
@ CSF-KU
Information Systems Department
Tasks When?
Events
Flows
Gateways
Which?
Data Objects,
97
Data / Materials Stores
Organizational Elements in BPMN –
Pools & Lanes
Pool
Captures a resource class. Generally used to model a business
Spring 2018
party (e.g. a whole company)
@ CSF-KU
Information Systems Department
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)
98
Pool
Order-to-cash process with lanes
@ CSF-KU
Message Flow
• A Message Flow represents a flow of information between
two process parties (Pools)
Spring 2018
• A Message Flow can connect:
• Directly to the boundary of a Pool captures an informative
@ CSF-KU
Information Systems Department
message to/from that party
Pool 2
Receive
100
Pool 1
Pool 1
Send Receive
Send
Order-to-cash process with a black-box customer pool
Spring 2018
@ CSF-KU
Information Systems Department
101
Pools, Lanes and Flows: syntactic rules
Spring 2018
cross the boundaries of a
Pool (message flows can)
@ CSF-KU
Information Systems Department
2. Both Sequence Flow and
Message Flow can cross
the boundaries of Lanes
3. A Message Flow cannot
connect two flow elements 102
within the same pool
Process Modelling Viewpoints
Spring 2018
@ CSF-KU
Information Systems Department
Which?
Data Objects, 103
Data / Materials Stores
Order-to-cash process, again
• The purchase Order document serves as an input to the
stock availability check
Spring 2018
• Based on the outcome of this check, the status of the
document is updated, either to “approved” or “rejected”
@ CSF-KU
Information Systems Department
• If the order is approved, an invoice and a shipment
notice are produced Send
invoice
Confirm Archive
Items in order order
stock Order
fulfilled
Check stock
Ship goods
availability
Purchase
Items not in
order
received stock 104
Reject order
Order
rejected
Model with information artifacts
Purchase Invoice
Order
Purchase
Spring 2018
Purchase Purchase Send Order
Order Order invoice
[checked]
Confirm Archive
@ CSF-KU
Information Systems Department
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 105
[rejected] [approved]
BPMN Information Artifacts
• A Data Object captures an artifact required (input)
or produced (output) by an activity
Spring 2018
Purchase Invoice
order
@ CSF-KU
Information Systems Department
invoice
Spring 2018
additional text information to the model reader
Department @ CSF-KU
Information Systems
• Doesn’t affect the flow of tokens through the process
• i.e. Includes packaging For blocked invoices
Clear vendor
Ship goods 107
line items
Spring 2018
Department @ CSF-KU
Information Systems
108
©2011 IS Department, CSF, KU