prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a...

91
Process Mining: Discovering and Improving Spaghetti and Lasagna Processes prof.dr.ir. Wil van der Aalst www.processmining.org

Transcript of prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a...

Page 1: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Process Mining: Discovering and Improving Spaghetti and Lasagna Processes

prof.dr.ir. Wil van der Aalstwww.processmining.org

Page 2: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Baarle-Nassau (NL) /Baarle-Hertog (B)

PAGE 1

22 enclaves in NL, 7 enclaves in BDue to medieval treaties, agreements, land-swaps and sales between the Lords of Breda (NL) and the Dukes of Brabant (B)

Page 3: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Architecture of Information Systems @ TU/e

Page 4: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Data explosion

PAGE 3

Page 5: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 4

The World's Technological Capacity to Store, Communicate, and Compute Information by Martin Hilbert and Priscila López (DOI 10.1126/science.1200970)

Page 6: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 5Data Mining

Smoker

Drinker

Weight

Short(91/10)

YesNo

Long(30/1)

NoYes

Long(150/20)

Short(321/25)

<81.5 ≥81.5

Process Mining =

Process Analysis

start register initial conditions

check_Aneeded?

check_A

modify conditions

check_Bneeded?

check_B

check_Cneeded?

check_C

assesrisk

declinec1

c2

c3

c4

c5

c6

c7

c8

c9

c10

c11

c12

c13

makeoffer

handleresponse

handlepayment

send insurance documents

timeout1 timeout2 withdraw offer

c14 c15 c16

c17

(RM,RD)(RM,RD)(E,SD) (E,RD)

(SM,SD) (E,SD)(E,FD)

(E,SD)

(E,SD)

(YE,RD)

(YE,RD)

(FE,FD)

(RM,RD)

+

Page 7: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 6

Process Mining

• Process discovery: "What is really happening?"

• Conformance checking: "Do we do what was agreed upon?"

• Performance analysis: "Where are the bottlenecks?"

• Process prediction: "Will this case be late?"

• Process improvement: "How to redesign this process?"

• Etc.

Page 8: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

We applied ProM in >100 organizations

PAGE 7

• Municipalities (e.g., Alkmaar, Heusden, Harderwijk, etc.)• Government agencies (e.g., Rijkswaterstaat, Centraal

Justitieel Incasso Bureau, Justice department)• Insurance related agencies (e.g., UWV)• Banks (e.g., ING Bank)• Hospitals (e.g., AMC hospital, Catharina hospital)• Multinationals (e.g., DSM, Deloitte)• High-tech system manufacturers and their customers

(e.g., Philips Healthcare, ASML, Ricoh, Thales)• Media companies (e.g. Winkwaves)• ...

Page 9: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Process Mining

Page 10: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Starting point: event log

PAGE 9

XES, MXML, SA-MXML, CSV, etc.

Page 11: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Simplified event log

PAGE 10

a = register request, b = examine thoroughly, c = examine casually, d = check ticket,e = decide, f = reinitiate request, g = pay compensation, and h = reject request

Page 12: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Processdiscovery

PAGE 11

Page 13: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Conformance checking

PAGE 12

case 7: e is executed without being

enabled

case 8: g or h is missing

case 10: e is missing in second

round

Page 14: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Extension: Adding perspectives to model based on event log

PAGE 13

Page 15: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Let us play …

Play-Out

Play-In

Replay

PAGE 14

Page 16: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Play-Out

PAGE 15

Page 17: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Play-Out (Classical use of models)

PAGE 16

A B C D

A C B DA B C D

A E D

A C B DA C B D

A E D

A E D

Page 18: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Play-In

PAGE 17

Page 19: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Play-In

PAGE 18

A C B DA B C D

A E D

A C B DA C B D

A E D

A E DA B C D

Page 20: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Replay

PAGE 19

Page 21: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Replay

PAGE 20

A B C D

Page 22: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Replay can detect problems

PAGE 21

AC D

Problem!missing token

Problem!token left behind

Page 23: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Replay can extract timing information

PAGE 22

A5B8 C9 D13

5

8

9

13

3

4

5

43

265

8

764

7

74

3

Page 24: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Desire lines in process models

PAGE 23

Page 25: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

An example algorithm

PAGE 24

Page 26: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Process Discovery: basic idea

PAGE 25

Page 27: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 26

>,,||,# relations

• Direct succession: x>y iff for some case x is directly followed by y.

• Causality: xy iff x>y and not y>x.

• Parallel: x||y iff x>y and y>x

• Choice: x#y iff not x>y and not y>x.

a>ba>ca>eb>cb>dc>bc>de>d

abacaebdcded

b||cc||b

abcdacbdaed

b#ee#bc#ea#d…

Page 28: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 27

Basic Idea Used by α Algorithm (1)

Page 29: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 28

Basic Idea Used by α Algorithm (2)

Page 30: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 29

Basic Idea Used by α Algorithm (3)

Page 31: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example Revisited

PAGE 30Result produced by α algorithm

a>ba>ca>eb>cb>dc>bc>de>d

abacaebdcded

b||cc||b

b#ee#bc#ea#d…

Page 32: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Genetic process mining

PAGE 31

Page 33: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example: crossover

PAGE 32

Page 34: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example: mutation

PAGE 33

a

start register request

b

examine thoroughly

c

examine casually

d

check ticket

decide

pay compensation

reject request

reinitiate request

e

g

h

f

end

a

start register request

b

examine thoroughly

c

examine casually

d

check ticket

decide

pay compensation

reject request

reinitiate request

e

g

h

f

end

remove place

added arc

Page 35: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Characteristics of genetic process mining

• Requires a lot of computing power.• Can be distributed easily.• Can deal with noise, infrequent behavior, duplicate tasks,

invisible tasks, etc.• Allows for incremental improvement and combinations

with other approaches (heuristics post-optimization, etc.).PAGE 34

Page 36: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 35

Page 37: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Challenge: four competing quality criteria

PAGE 36

“able to replay event log” “Occam’s razor”

“not overfitting the log” “not underfitting the log”

Page 38: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Flower model

PAGE 37

Page 39: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 38

What is the best model?

990850

Page 40: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 39

What is the best model?

99888578

Page 41: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 40

What is the best model?

992853

Page 42: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example: one log four models

PAGE 41

astart register

request

bexamine thoroughly

cexamine casually

d checkticket

decide

pay compensation

reject request

reinitiate requeste

g

hfend

astart register

request

cexamine casually

dcheckticket

decide reject request

e hend

N3 : fitness = +, precision = -, generalization = +, simplicity = +

N2 : fitness = -, precision = +, generalization = -, simplicity = +

astart register

request

bexamine

thoroughly

cexamine casually

dcheck ticket

decide

pay compensation

reject request

reinitiate request

e

g

h

f

end

N1 : fitness = +, precision = +, generalization = +, simplicity = +

astart register

request

cexamine casually

dcheckticket

decide reject request

e hend

N4 : fitness = +, precision = +, generalization = -, simplicity = -

aregister request

dexamine casually

ccheckticket

decide reject request

e h

a cexamine casually

dcheckticket

decide

e g

a dexamine casually

ccheckticket

decide

e g

register request

register request

pay compensation

pay compensation

aregister request

b dcheckticket

decide reject request

e h

aregister request

d bcheckticket

decide reject request

e h

a b dcheckticket

decide

e gregister request

pay compensation

examine thoroughly

examine thoroughly

examine thoroughly

(all 21 variants seen in the log)

acdeh

abdeg

adceh

abdeh

acdeg

adceg

adbeh

acdefdbeh

adbeg

acdefbdeh

acdefbdeg

acdefdbeg

adcefcdeh

adcefdbeh

adcefbdeg

acdefbdefdbeg

adcefdbeg

adcefbdefbdeg

adcefdbefbdeh

adbefbdefdbeg

adcefdbefcdefdbeg

455

191

177

144

111

82

56

47

38

33

14

11

9

8

5

3

2

2

1

1

1

# trace

1391

process discovery

fitness

precisiongeneralization

simplicity

“able to replay event log” “Occam’s razor”

“not overfitting the log” “not underfitting the log”

Page 43: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Model N1

PAGE 42

acdeh

abdeg

adceh

abdeh

acdeg

adceg

adbeh

acdefdbeh

adbeg

acdefbdeh

acdefbdeg

acdefdbeg

adcefcdeh

adcefdbeh

adcefbdeg

acdefbdefdbeg

adcefdbeg

adcefbdefbdeg

adcefdbefbdeh

adbefbdefdbeg

adcefdbefcdefdbeg

455

191

177

144

111

82

56

47

38

33

14

11

9

8

5

3

2

2

1

1

1

# trace

1391

Page 44: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Model N2

PAGE 43

acdeh

abdeg

adceh

abdeh

acdeg

adceg

adbeh

acdefdbeh

adbeg

acdefbdeh

acdefbdeg

acdefdbeg

adcefcdeh

adcefdbeh

adcefbdeg

acdefbdefdbeg

adcefdbeg

adcefbdefbdeg

adcefdbefbdeh

adbefbdefdbeg

adcefdbefcdefdbeg

455

191

177

144

111

82

56

47

38

33

14

11

9

8

5

3

2

2

1

1

1

# trace

1391

Page 45: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Model N3

PAGE 44

acdeh

abdeg

adceh

abdeh

acdeg

adceg

adbeh

acdefdbeh

adbeg

acdefbdeh

acdefbdeg

acdefdbeg

adcefcdeh

adcefdbeh

adcefbdeg

acdefbdefdbeg

adcefdbeg

adcefbdefbdeg

adcefdbefbdeh

adbefbdefdbeg

adcefdbefcdefdbeg

455

191

177

144

111

82

56

47

38

33

14

11

9

8

5

3

2

2

1

1

1

# trace

1391

Page 46: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Model N4

PAGE 45

acdeh

abdeg

adceh

abdeh

acdeg

adceg

adbeh

acdefdbeh

adbeg

acdefbdeh

acdefbdeg

acdefdbeg

adcefcdeh

adcefdbeh

adcefbdeg

acdefbdefdbeg

adcefdbeg

adcefbdefbdeg

adcefdbefbdeh

adbefbdefdbeg

adcefdbefcdefdbeg

455

191

177

144

111

82

56

47

38

33

14

11

9

8

5

3

2

2

1

1

1

# trace

1391

astart register

request

cexamine casually

dcheckticket

decide reject request

e hend

N4 : fitness = +, precision = +, generalization = -, simplicity = -

aregister request

dexamine casually

ccheckticket

decide reject request

e h

a cexamine casually

dcheckticket

decide

e g

a dexamine casually

ccheckticket

decide

e g

register request

register request

pay compensation

pay compensation

aregister request

b dcheckticket

decide reject request

e h

aregister request

d bcheckticket

decide reject request

e h

a b dcheckticket

decide

e gregister request

pay compensation

examine thoroughly

examine thoroughly

examine thoroughly

(all 21 variants seen in the log)

Page 47: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Why is process mining such a difficult problem?

• There are no negative examples (i.e., a log shows what has happened but does not show what could not happen).

• Due to concurrency, loops, and choices the search space has a complex structure and the log typically contains only a fraction of all possible behaviors.

• There is no clear relation between the size of a model and its behavior (i.e., a smaller model may generate more or less behavior although classical analysis and evaluation methods typically assume some monotonicity property).

PAGE 46

Page 48: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

How can process mining help?

PAGE 47

• Detect bottlenecks• Detect deviations• Performance

measurement• Suggest improvements• Decision support (e.g.,

recommendation and prediction)

• Provide mirror• Highlight important

problems• Avoid ICT failures• Avoid management by

PowerPoint • From “politics” to

“analytics”

Page 49: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 48

Page 50: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example of a Lasagna process: WMO process of a Dutch municipality

PAGE 49

Each line corresponds to one of the 528 requests that were handled in the period from 4-1-2009 until 28-2-2010. In total there are 5498 events represented as dots. The mean time needed to handled a case is approximately 25 days.

Page 51: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

WMO process(Wet Maatschappelijke Ondersteuning)

• WMO refers to the social support act that came into force in The Netherlands on January 1st, 2007.

• The aim of this act is to assist people with disabilities and impairments. Under the act, local authorities are required to give support to those who need it, e.g., household help, providing wheelchairs and scootmobiles, and adaptations to homes.

• There are different processes for the different kinds of help. We focus on the process for handling requests for household help.

• In a period of about one year, 528 requests for household WMO support were received.

• These 528 requests generated 5498 events.PAGE 50

Page 52: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

C-net discovered using heuristic miner (1/3)

PAGE 51

Page 53: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

C-net discovered using heuristic miner (2/3)

PAGE 52

Page 54: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

C-net discovered using heuristic miner (3/3)

PAGE 53

Page 55: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Conformance check WMO process (1/3)

PAGE 54

Page 56: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Conformance check WMO process (2/3)

PAGE 55

Page 57: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Conformance check WMO process (3/3)

PAGE 56

The fitness of the discovered process is 0.99521667. Of the 528 cases, 496 cases fit perfectly whereas for 32 cases there are missing or remaining tokens.

Page 58: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Bottleneck analysis WMO process (1/3)

PAGE 57

Page 59: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Bottleneck analysis WMO process (2/3)

PAGE 58

Page 60: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Bottleneck analysis WMO process (3/3)

PAGE 59

flow time of approx. 25 days with a standard deviation of approx. 28

Page 61: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Two additional Lasagna processes

PAGE 60

RWS (“Rijkswaterstaat”)

process

WOZ (“Waardering Onroerende Zaken”)

process

Page 62: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

RWS Process

PAGE 61

• The Dutch national public works department, called “Rijkswaterstaat” (RWS), has twelve provincial offices. We analyzed the handling of invoices in one of these offices.

• The office employs about 1,000 civil servants and is primarily responsible for the construction and maintenance of the road and water infrastructure in its province.

• To perform its functions, the RWS office subcontracts various parties such as road construction companies, cleaning companies, and environmental bureaus. Also, it purchases services and products to support its construction, maintenance, and administrative activities.

Page 63: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

C-net discovered using heuristic miner

PAGE 62

Page 64: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Social network constructed based on handovers of work

PAGE 63

Each of the 271 nodes corresponds to a civil servant. Two civil servants areconnected if one executed an activity causally following an activity executed by the other civil servant

Page 65: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Social network consisting of civil servants that executed more than 2000 activities in a 9 month period.

PAGE 64

The darker arcs indicate the strongest relationships in the social network. Nodes having the same color belong to the same clique.

Page 66: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

WOZ process

• Event log containing information about 745 objections against the so-called WOZ (“Waardering Onroerende Zaken”) valuation.

• Dutch municipalities need to estimate the value of houses and apartments. The WOZ value is used as a basis for determining the real-estate property tax.

• The higher the WOZ value, the more tax the owner needs to pay. Therefore, there are many objections (i.e., appeals) of citizens that assert that the WOZ value is too high.

• “WOZ process” discovered for another municipality (i.e., different from the one for which we analyzed the WMO process).

PAGE 65

Page 67: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Discovered process model

PAGE 66

The log contains events related to 745 objections against the so-called WOZ valuation. These 745 objections generated 9583 events. There are 13 activities. For 12 of these activities both start and complete events are recorded. Hence, the WF-net has 25 transitions.

Page 68: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Conformance checker:(fitness is 0.98876214)

PAGE 67

Page 69: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Performance analysis

PAGE 68

Page 70: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Resource-activity matrix(four groups discovered)

PAGE 69

Page 71: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 70

Page 72: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example of a Spaghetti process

PAGE 71

Spaghetti process describing the diagnosis and treatment of 2765 patients in a Dutch hospital. The process model was constructed based on an event log containing 114,592 events. There are 619 different activities (taking event types into account) executed by 266 different individuals (doctors, nurses, etc.).

Page 73: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Fragment18 activities of the 619 activities (2.9%)

PAGE 72

Page 74: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Another example(event log of Dutch housing agency)

PAGE 73

The event log contains 208 cases that generated 5987 events. There are 74 different activities.

Page 75: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 74

Page 76: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 75

Page 77: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example of a map

PAGE 76

Road map of The Netherlands. The map abstracts from smaller cities and less significant roads; only the bigger cities, highways, and other important roads are shown. Moreover, cities aggregate local roads and local districts. Also not use of color, size, etc.

Page 78: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Illustrating the problem

PAGE 77

a

cb d

e

start

p1

p2

end

f

g h

i

p7

p8

j

k l

p12

p3

p4

p5

p6

p9

p10

p11

0.40.60.60.40.4

0.3

0.3

Page 79: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Classical top level view: low level connections still exist

PAGE 78

a

cb d

e

start

p1

p2

end

f

g h

i

p7

p8

j

k l

p12

p3

p4

p5

p6

p9

p10

p11

1.0 1.01.0

0.4 0.30.3

1.0 1.0

0.6

0.40.6

0.4

0.40.60.60.40.4

0.3

0.3

x

y z

Page 80: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Seamless zoom

PAGE 79

a

cb d

e

f

g h

i

j

k l

Threshold: 0.3

a

b

e

f

g h

i

j

k l

Threshold: 0.4

a

e

f

h

i

j

k

Threshold: 0.6

a

e

f

i

j

Threshold: 1.0

x

x y z

x y z

x y z

x y z

y z

x y z

x y z

x y z

Page 81: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Example: Reviewing papers(100 cases generating 3730 events)

PAGE 80

WF-net discovered using the α-algorithm

Page 82: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Fuzzy miner: two views on the same process

PAGE 81

Page 83: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Balancing between both extremes

PAGE 82

Page 84: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Not a single map!

PAGE 83

Page 85: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Projecting dynamic information on business process maps

PAGE 84

Page 86: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Projecting traffic jams on maps

PAGE 85

Page 87: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Business process movies

PAGE 86

Page 88: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Navigation

• Whereas a TomTom device is continuously showing the expected arrival time, users of today’s information systems are often left clueless about likely outcomes of the cases they are working on.

• Car navigation systems provide directions and guidance without controlling the driver. The driver is still in control, but, given a goal (e.g. to get from A to B as fast as possible), the navigation system recommends the next action to be taken.

• Operational support provides TomTom functionality for business processes.

PAGE 87

Page 89: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 88

Predict: When will I be home? At 11.26!

Recommend: How to get home ASAP? Take a left turn!

Detect: You drive too fast!

Page 90: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

Conclusion: two types of processes

PAGE 89

Page 91: prof.dr.ir. Wil van der Aalst - Process Mining · Example of a Lasagna process: WMO process of a Dutch municipality PAGE 49 Each line corresponds to one of the 528 requests that were

PAGE 90

www.processmining.org

www.win.tue.nl/ieeetfpm/