FBPM2 Chapter 11 ProcessMonitoring
FBPM2 Chapter 11 ProcessMonitoring
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checking
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 1
Process Analysis in the BPM Lifecycle
Management Processes
les for BPM lifecycle and process mining identification Core Processes
A E
D
5m 3m 5m 10m 30m 2h 10m
15m
C
1.5h 10min
Conformance and Process As-is process
performance
discovery model
insights
A B C D E
Process Process
monitoring analysis
Executable Insights on
process weaknesses and
model their impact
Process Process
implementation To-be process redesign
model
Business Process Monitoring Techniques
Statistics-Based Techniques
Performance Dashboards
Enterprise
System
Model-Based Techniques
Event Process Mining
Database log
Chapter 11: Process Monitoring
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checing
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 4
Types of process dashboards
Process
Dashboards
Sketch operational and tactical process monitoring dashboards for CVS Pharmacy’s
prescription fulfillment process (See Chapter 1, Exercise 1.6).
Consider the viewpoints of each stakeholder in the process.
• Customer
• Pharmacist
• Technician
• Process owner (overseeing 500+ pharmacies distributed geographically)
Chapter 11: Process Monitoring
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checing
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 14
Business Process Monitoring
Dashboards &
reports
Discovery
discovered model
Performanc Deviance
e
event log
Enhanced model Difference
diagnostics
event log’
Conformance /
input model
16
Event logs structure: minimum requirements
Concrete formats:
• Comma-Separated Values (CSV)
• XES (XML format)
Chapter 11: Process Monitoring
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checking
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 18
Automated Process Discovery
Lightweigh
Open-source Mid-range Heavyweight
t
20
Apromore.org
Fluxicon Disco
22
Process Maps
(a.k.a. Directly-Follows Graphs)
23
Process Maps – Example
Event log:
10: a,b,c,g,e,h
10: a,b,c,f,g,h
10: a,b,d,g,e,h
10: a,b,d,e,g,h
10: a,b,e,c,g,h
10: a,b,e,d,g,h
10: a,c,b,e,g,h
10: a,c,b,f,g,h
10: a,d,b,e,g,h
10: a,d,b,f,g,h
24
Process Maps – Exercise
Case Case
ID Task Name Originator Timestamp ID Task Name Originator Timestamp
2 File Fine Anne 20-07-2004 15:00:00 2 Process Payment system 22-08-2004 09:05:00
1 Send Bill system 20-07-2004 15:05:00 2 Close case system 22-08-2004 09:06:00
3 Send Bill system 21-07-2004 14:00:00 4 Process Payment system 29-08-2004 14:01:00
4 File Fine Anne 22-07-2004 11:00:00 4 Close Case system 29-08-2004 17:30:00
1 Close Case system 24-07-2004 15:06:00 3 Process Payment system 25-10-2004 14:00:00
Disco (and other commercial process mining tools) use process maps to visualize
event logs
It also provides operations to filter the process map:
By activities
By paths
26
Abstraction and Filtering
To cope with the complexity of large real-life logs, process maps are often used
in conjunction with two operations:
1. Abstract the process map:
Show only most frequent activities
Show only most frequent arcs
2. Filter the traces in the event log
Remove traces that fulfil a condition (or traces that do not fulfil a condition)
27
Raw process maps of a real-life log
(In Celonis)
28
Abstracted map
(In Celonis)
90% of node abstraction, 98% arc abstraction
29
Filtering
30
Discovering (BPMN) Process Models
31
α-miner
Basic Idea: Ordering relations
case 1 : task A
• Direct succession: case 2 : task A
x>y iff for some case 3 : task A ABCD
case 3 : task B
case x is directly case 1 : task B ACBD
followed by y. case 1 : task C
case 2 : task C EF
• Causality: xy iff case 4 : task A
case 2 : task B
x>y and not y>x. ...
• Parallel: x||y iff x>y
and y>x
A>B
• Unrelated: x#y iff A>C
not x>y and not y>x. B>C A B
B||C
B>D A C
C||B
C>B B D
C>D
CD
E>F
E F
32
Basic Idea: Example
33
Basic Idea: Example
34
Basic Idea: Footprints
35
α-Algorithm
Idea (a)
ab
α-Algorithm
Idea (b)
a b, a c and b # c
α-Algorithm
Idea (c)
b d, c d and b # c
α-Algorithm
Idea (d)
a b, a c and b || c
α-Algorithm
Idea (e)
b d, c d and b || c
Process Model Discovery – Exercise
Case Case
ID Task Name Originator Timestamp ID Task Name Originator Timestamp
2 File Fine Anne 20-07-2004 15:00:00 2 Process Payment system 22-08-2004 09:05:00
1 Send Bill system 20-07-2004 15:05:00 2 Close case system 22-08-2004 09:06:00
3 Send Bill system 21-07-2004 14:00:00 4 Process Payment system 29-08-2004 14:01:00
4 File Fine Anne 22-07-2004 11:00:00 4 Close Case system 29-08-2004 17:30:00
1 Close Case system 24-07-2004 15:06:00 3 Process Payment system 25-10-2004 14:00:00
41
Limitations of alpha miner
Completeness
All possible traces of the process (model)
need to be in the log
Self-loops
b>b and not b>b implies bb (impossible!)
Short loops
c>b and b>c implies c||b and b||c
instead of cb and bc
Heuristic Miner
Process
Map
Heuristic Miner
Heuristic Miner
Heuristic Miner
What’s the
correspondi
ng process
model?
46
Automated Process Discovery
Simplicity
minimal size & structural
complexity
Fitness
parses the traces of the log
47
Accuracy of Automated Process Discovery
Lack of
generalization
Process
Lack of Model
precision Lack of
fitness
Log
48
Process Discovery Algorithms:
The Two Worlds
High-Fitness High-Fitness
High-Precision Low-Complexity
Heuristic
Miner
Fodina Miner
Process Model discovered with Heuristics
Miner
Process Model discovered with
Inductive Miner
Structured by construction
Based on process tree
Process Discovery Algorithms:
The Two Worlds
High-Fitness High-Fitness
High-Precision Low-Complexity
Heuristic Inductive
Miner Miner
Evolutionary
Fodina Miner
Tree Miner
Process Model discovered with
Structured Miner
Process Discovery Algorithms
High-Fitness
High-Precision
Low-Complexity
Structured Miner
Automated Process Discovery
Structured Miner + Subprocess Identification
Apromore.org
Chapter 11: Process Monitoring
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checking
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 56
Visual Process Performance Mining
Techniques
Dotted charts
One line per trace, each line contains points, one point per event
Each event type is mapped to a colour
Position of the point denotes its occurrence time (in a relative scale)
Birds-eye view of the timing of different events (e.g. activity end times), but does not
allow one to see the “processing” times of activities
Timeline diagrams
One line per trace, each line contains segments capturing the start and end of tasks
Captures process time (unlike dotted charts)
Not scalable for large event logs – good to show “representative” traces
Performance-enhanced process maps
Process maps where nodes are colour-coded with respect to a performance measure.
Typically edge colour denotes waiting time, node colour denotes processing time.
Nodes may represent activities (default option)
But they may represent resources and then arcs denote hands-offs between resources
Dotted chart
SLIDE 58
Timeline diagram
SLIDE 59
Performance-enhanced process map
Nodes are activities (default)
SLIDE 60
Screenshot of Disco
Performance-enhanced process map
Nodes are tasks (handoff graph)
SLIDE 61
Screenshot of MyInvenio
Chapter 11: Process Monitoring
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checking
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 62
Conformance Checking
63
Conformance Checking:
Unfitting vs. Additional Behavior
Event
log:
ABCDEH
ACBDEH
ABCDFH
ACBDFH
ABDEH
Unfitting behaviour: ABDFH
Task C is optional (i.e. may be skipped) in the log
Additional behavior:
The cycle including IGDF is not observed in the log
Conformance Checking in Apromore
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checking
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 66
Variants Analysis
Given two logs, find the differences and root causes for
variation or deviance between the two logs
≠
Variants Analysis via Model Differencing
Model
Delta
Analysis
S. Suriadi et al.: Understanding Process Behaviours in a Large Insurance Company in Australia: A Case Study. CAiSE 2013
Variants Analysis via Log Delta Analysis
N.R. van Beest, L. Garcia-Banuelos, M. Dumas, M. La Rosa, Log Delta Analysis: Interpretable Differencing of
Business Process Event Logs. BPM 2015: 386-405
Chapter 11: Process Monitoring
Contents
1. Performance Dashboards
2. Introduction to Process Mining
3. Automated Process Discovery
4. Process Performance Mining
5. Conformance Checking
6. Variants Analysis
7. Process Mining in Practice
8. Recap
SEITE 70
Process Mining: Where is it used?
Insurance
- Suncorp, Australia
Government
- Qld Treasury & Trade, Australia
Health
- AMC Hospital, The Netherlands
- São Sebastião Hospital, Portugal
- Chania Hospital, Greece
- EHR Workflow Inc., USA
Transport
- ANA Airports, Portugal
- Busan Port, South Korea
- Kuehne + Nagel, Switzerland-Germany
Electronics
- Phillips, The Netherlands
Banking, construction… etc.
Case Study: Suncorp Group
Home 30
Motor
Commercial
variations
Liability
CTP / WC
OK
OK Good
Deviance & Variance Mining
Discover and analyse actual organisational processes from data
MODEL
Main result
Key patterns that explain lower performance identified
Process Mining Methodology
Resources:
2 part-time Business Analysts, 1 DB Administrator, 1 Executive Manager (sponsor)
1 full-time data scientist
Timeframe: 4 months
2. Collect the data
SLIDE 82