FBPM2 Chapter05 ProcessDiscovery
FBPM2 Chapter05 ProcessDiscovery
Contents
1. The Setting of Process Discovery
2. Process Discovery Methods
3. Process Modeling Method
4. Process Model Quality Assurance
5. Recap
Process Modeling in the BPM Lifecycle
Process
Management Processes
Support Processes
Process Process
monitoring analysis
Executable Insights on
process weaknesses and
model their impact
Process Process
implementation To-be process redesign
model
Chapter 5: Process Discovery
Contents
1. The Setting of Process Discovery
2. Process Discovery Methods
3. Process Modeling Method
4. Process Model Quality Assurance
5. Recap
Process discovery
4
Who is involved?
5
Example: modeling perspective
Modeling the process for ordering books through an online bookstore, from the
perspective of the customer.
Modeling the same process from the perspective of the bookstore.
Which of the two tasks above are you familiar with and why?
Exercise 5.1
You are the manager of a consulting company and you need to hire a
person for the newly signed BPM project with an online bookstore.
Consider the following two profiles; who would you hire as a process
analyst?
Mike Miller has ten years of work experience with an online retailer. He has
worked in different teams involved with the order-to-cash process of the online
retailer.
Sara Smith has five years of experience working as a process analyst in the
banking sector. She is familiar with two different process modeling languages
and with several modeling tools.
Challenge 1: Fragmented process knowledge
I make a photocopy
before handing over
the application
It e
ra t
iv e
pro valid
c e s at i o
s n
Why can‘t I directly
provide cash after
approval?
We bundle refinancing
to get better interest
rates.
8
Challenge 2: Domain experts think on instance level
Ab
s
ins tract “You cannot really compare. Our
tan iocustomers
n go to different places in
pro c fro seasons using different
e ledifferent
ce s vel m
s lemodestoof transportation”
vel
“We can never do anything exactly
in the same way. There are so many
special conditions”
9
Challenge 3: Knowledge of process modeling is uncommon
Tr
n a an s la
t ur
al - t io n
lan t
gu o
ag
e
10
What makes a good process analyst?
11
Exercise 5.2
Hint. Think of the different exposure to this process that the three
resources have and of the possible conditions, process outcomes, and
exceptions that they may have experienced while executing this process.
Profile of an Expert Process Analyst
Contents
1. The Setting of Process Discovery
2. Process Discovery Methods
3. Process Modeling Method
4. Process Model Quality Assurance
5. Recap
Process discovery methods
1. Evidence-based
Document analysis
Observation
Automated process discovery
2. Interview-based
3. Workshop-based
15
Document Analysis
Potential issues:
May not be process-oriented and trustworthy
May require abstraction or refinement
16
Observation
Potential issues:
Active role: no big picture
Passive role: participants’ bias
17
Automated process discovery and Process mining
Discovery
discovered model
event stream
Enhancemen
t enhanced model
event log
existing model
DB
18
Conformance /
Automated discovery: Minimum data requirements
Additional information:
Activity resource, cost
Case attributes (e.g. customer reference, type of case…)
Exercise 5.3
As a process analyst working for the University of Newtown, you have been
engaged by Mark Johnson, the process owner of the student admission
process, in a project that aims at improving this process. In order to model
the as-is process, you start by collecting relevant information about this
process. The available documentation includes the organization chart of the
Office of the Deputy Vice-Chancellor (DVC) for Student Affairs where Mark’s
team sits, the UML class diagram of the student admission system which
supports this process, and a set of relevant organizational policies that you
extract from the university’s Web pages.
Approaches:
forward vs backward
structured vs unstructured
32
Example: Any difference in discovery?
33
Discovery and Culture
34
Exercise 5.5
Consider the complaints that have emerged from the interviews reported
in Exercise 5.4. As a facilitator, what questions would you ask the various
participants to investigate these further in a workshop?
Discovery methods: strengths and weaknesses
36
Discovery methods: strengths and weaknesses
Method Strength Weakness
Document Analysis • Structured information • Outdated material
• Independent from • Wrong level of
availability of abstraction
stakeholders
Consider two scenarios: one in which you run interviews, the other in
which you run workshops. You may also use other discovery methods in
these two scenarios, in addition to either inter- views or workshops. Can
you estimate the difference in time effort between the two scenarios?
Make appropriate assumptions.
Chapter 5: Process Discovery
Contents
1. The Setting of Process Discovery
2. Process Discovery Methods
3. Process Modeling Method
4. Process Model Quality Assurance
5. Recap
Stepwise method to conduct the modeling
41
1. Identify the process boundaries
Seller
44
Exercise 5.8
Identify the main activities and events for the procure-to-pay process.
3. Identify resources and their handoffs
46
Exercise 5.9
Using the description of the procure-to-pay process, first identify the
involved resources; next, assign the activities and events you obtained in
Exercise 5.8 to these resources; and finally identify the handoffs.
4. Identify the control flow
48
Exercise 5.10
Using the description of the procure-to-pay process, refine the model you
obtained in Exercise 5.9 by defining the full control flow.
5. Identify additional elements
50
When should we stop modelling a process?
Exercise 5.11
Using the description of the procure-to-pay process, define the model you
obtained in Exercise 5.10 by adding business objects and exception
handlers.
Chapter 5: Process Discovery
Contents
1. The Setting of Process Discovery
2. Process Discovery Methods
3. Process Modeling Method
4. Process Model Quality Assurance
5. Recap
Process model quality assurance
• Validity • Understandibility
• Completeness • Mantainability
• Learning
• Structural correctness
• Behavioral correctness
54
Syntactic quality: Verification
1. Element-level rules:
activities must have at least one incoming and one outgoing sequence flow
start events must not have incoming arcs, end events must not have outgoing arcs
gateways must have exactly one incoming and at least two outgoing arcs (splits) or at
least two incoming and exactly one outgoing arcs (joins)
…
2. Model-level rule: all flow nodes must be on a path from a start to an end
event
i.e. no dangling arcs or disconnected nodes
implies that a model should have at least one start and one end event.
Example: structural correctness
Behavioral correctness (aka “soundness”)
If c1 is true after executing A, or c2 is true after executing B, the instance cannot complete
(deadlock)
60
Note: this model also suffers from a dead activity (D)
Example: livelock (no option to complete)
If condition_1 is true, the instance cannot complete and activity B will be repeated
forever (livelock)
Note: this model is structurally incorrect, because B is not on a path to the end event
61
Example: no proper completion
At the moment of completion, there will be two tokens in the end event (lack of
synchronization)
62
Example: dead activity
Even if this model can always complete, Activity D will never be executed
Note: this model also suffers from a deadlock, as a token will be left behind (stuck before the
AND-join). However, there is always an option to complete
63
Exercise 5.13
65
Domain Expert Process Analyst
Semantics
66
Exercise 5.14
7
Exercise 5.14 (cont’ed)
Invalid
It is not possible that products are neither in the Amsterdam nor in the Hamburg
warehouse. 7
Example: semantic correctness
Incomplete
Orders may contain both products that are in Amsterdam and products that are
in Hamburg
7
Exercise 5.15
Consider the model in the next slide, with reference to the following
process description. Is this model valid and complete? If not, what
statements are invalid and what is missing?
When a special order is received, it is first registered and then its details are checked. Next,
the order is confirmed and meantime the custom product is manufactured. Once the product
has been made, the shipment can be planned. Afterwards, the customer type and shipment
status are checked. In fact, if a customer is casual an ad hoc invoice must be emitted, which
is not required for ordinary customers. In the latter case, the customer account is simply
charged with the costs related to the order fulfillment. Moreover, if the shipment has been
delayed, the customer must be updated on the expected delay. Concomitantly to these
activities, the custom product is shipped. After the latter activity and after the invoice has
been emitted, the process completes with the archival of the order. Any time during the
confirmation of the order and the manufacturing of the respective product, an order change
request may be received, in which case any activity must be interrupted to handle the
change re- quest. This includes the registration of the order variation and a notification to the
customer, after which the process resumes from the order checking.
Exercise 5.15 (cont’ed)
Pragmatic Quality: Certification
Usability:
Understandability: how easy it is to read and comprehend the model
Maintainability: how easy it is to apply changes
Learning: how good a model reveals how its corresponding process
works in reality
73
Is this process model of good pragmatic quality?
Noun phrase
Verb phrase
(imperative)
Noun phrase
(using “of”)
Verb phrase
(gerund)
74
Example: A model from the SAP R/3 collection…
75
Exercise 5.16
Is the process model below of good pragmatic quality? If not, how can it
be improved?
Modeling Guidelines and Conventions
3. Semantics – rare (e.g. using data objects to only capture information flow)
77
Example: modeling guidelines and conventions
Labeling
1. Activities as imperative verb + noun
2. Events as noun + past-participle verb
3. Conditions on outgoing arcs of (X)OR-splits with reference to object
Layout
4. From top-left to bottom-right
5. Use direct arcs with no crossing where possible
Example modelling guidelines: 7PMG
G3 Use one start event (per trigger) and one end event (per outcome)
79
Exercise 5.17
Which 7PMG can be applied to this model? Consider the description below.
80
Chapter 5: Process Discovery
Contents
1. The Setting of Process Discovery
2. Process Discovery Methods
3. Process Modeling Method
4. Process Model Quality Assurance
5. Recap
Recap