Top Banner
Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands [email protected]
51

Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Mar 14, 2019

Download

Documents

LyDuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Process Mining in the Context of Web Services

Prof.dr.ir. Wil van der AalstEindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands

[email protected]

Page 2: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Outline• Web services monitoring• Process Mining• Running example• Discovery• Conformance checking• Reality Check• Conclusion

The work of many people!

Thanks to Ton Weijters, Boudewijn van Dongen, Ana Karla Alves de Medeiros, Anne Rozinat, Christian Günter, Eric Verbeek, Ronny Mans, Minseok Song, Laura Maruster, Huub de Beer, Peter van den Brand, Jan Mendling, Andriy Nikolov, Jianmin Wang, LijieWen, Irene Vanderfeesten, Mariska Netjes, Steffi Rinderle, WalidGaaloul, Gianluigi Greco, Antonella Guzzo, etc. etc.

Page 3: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Web Services Monitoring

Page 4: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Setting: Services, composition, and choreography

Page 5: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Example: IBM’s WebSphere Process Server architecture

• Common event infrastructure (CEI)

Page 6: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Logging events

• local/global• messages/activities

Services use BPEL ornot, may have a model or not, are known or not, and may deviate fromwhat is expected or not.

Page 7: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Overview Process Mining

Page 8: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Software systems are the mirror image of the “world”

Page 9: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Dual role of process models

modelsanalyzes

specifiesconfiguresimplements

analyzes

supports/controls

people machines

organizationscomponents

business processes

verification

“verification of models only makes sense if they are an

adequate reflection of reality”

“realistic models are difficult to verify”

Page 10: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Event logs are a reflection of reality

records events, e.g., messages,

transactions, etc.

supports/controls

people machines

organizationscomponents

business processes

“logs are everywhere and there will be more …”

Page 11: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Examples:

Page 12: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Process mining: Linking events to models

modelsanalyzes

discovery

records events, e.g., messages,

transactions, etc.

specifiesconfiguresimplements

analyzes

supports/controls

conformance

people machines

organizationscomponents

business processes

verification

Page 13: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Toy example to explain basic idea:

Reviewing of papers for IPA workshop

Page 14: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Event log:• processes

– process instances• events

Per event:• activity name• (event type)• (originator)• (timestamp)• (data)

Page 15: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

start of process instance

start of activity

end of activity

attributes of an event

Page 16: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Discovery

modelsanalyzes

discovery

records events, e.g., messages,

transactions, etc.

specifiesconfiguresimplements

analyzes

supports/controls

conformance

people machines

organizationscomponents

business processes

verification

Page 17: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS
Page 18: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

No transactional information

Page 19: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

EPC model (SAP,ARIS, etc)

Page 20: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

YAWL model (executable workflow model)

Page 21: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Conversions/exports/imports

• ARIS – ARIS PPM• BPEL 1.1

(WebSphere/Oracle)• YAWL• CPN Tools• Petrify• Woflan• Heuristics nets• …

link to Eric

Page 22: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

about 30 mining plug-ins!

Page 23: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Social network analysis

Page 24: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Decision point analysis

builds a decision tree

for eachchoice

Page 25: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Performance analysis

Page 26: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Discovering patterns

Page 27: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Conformance Checking

modelsanalyzes

discovery

records events, e.g., messages,

transactions, etc.

specifiesconfiguresimplements

analyzes

supports/controls

conformance

people machines

organizationscomponents

business processes

verification

Page 28: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Comparing the discovered model with the log (f=1)

Page 29: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Adding deviations to the log (f=0.89) link to Anne

Page 30: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

LTL checker plug-in

Page 31: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Reality Check

Page 32: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Goal of ProM: Complete support

StaffwareFLOWer

WebsphereYAWLADEPT

ARIS PPM/SIMOutlookCaramba

SAPPeopleSoftInConcert

IBM MQSeriesCPN Tools

CVSOracle BPEL

UML SDcompany specific

systems...

EPC (ARIS, ARIS PPM, EPML,Visio)

BPEL (Oracle BPEL, Websphere)

YAWLPetri nets (PNML, TPN, ...)

CPN (CPN Tools)Protos

...Netminer

...

CJIBUWV

RijkswaterstaatASML

AMC hospitalCatharina hospital

EindhovenHeusden

ING BankPhilips medical

systems...

Page 33: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Reality Check

• Process mining on structured/administrative workflow-like logs is relatively easy.

• However, let us look at two extreme logs:– A log from a hospital with information on treatments,

complications, and diagnoses.– A log from a manufacturer of professional systems with

information on system tests.

Page 34: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

First example: Hospital data• Information on treatment, complication, and

diagnosis events.• Data:

– 2712 cases (all unique)– 29258 events– +/- 10.8 events per case– 264 different events (activities)

Page 35: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Frequency of activities

Model element Event type Occurrences (absolute)

Occurrences (relative)

B_Perifeer infuus start 2837 9,696%

B_Maagsonde start 2430 8,305%

B_Beademing start 2187 7,475%B_Catheter a Demeure

start 2096 7,164%

B_Basiszorg start 2010 6,87%B_Arterie lijn op OK

start 2002 6,843%

B_O2 masker/slang start 1954 6,679%

B_Thoraxdrain start 1863 6,367%

Page 36: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

C_N Phrenicus Paralyse start 1 0,003%

C_TIA start 1 0,003%

B_Horizontaal start 1 0,003%

C_Cholecystitis, acalc start 1 0,003%

C_Decubitus hak st. 3a start 1 0,003%

C_Druk necrose elders start 1 0,003%

B_Decubitus zorg stadium 3b start 1 0,003%

C_Haemolyse start 1 0,003%

B_Decubitus zorg stadium 4b start 1 0,003%

B_Isolatie Beschermend start 1 0,003%

B_Donor Weefsel start 1 0,003%

C_Polyurie (>40ml/kg/24u) start 1 0,003%

C_Decubitus overig st. 3a start 1 0,003%

C_Intra-peritoneaal Abces start 1 0,003%

Page 37: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Heuristics miner

Page 38: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Petri net

Page 39: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Selection: Care after hart surgery

• Data– 874 cases (all unique)– 10478 events– 181 different events

(activities)

Page 40: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Second example: Test data from high-tech system manufacturer• Information on testing process of complex

professional machines • Data:

– 24 comparable cases– 154966 events– +/- 6450 events per case– between 2820 and 16250 events per machine– 720 different events (start/complete activities)

Page 41: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Helicopter view

Page 42: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Average time spent in job-steps (aggregated events)

Page 43: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Mining just the complete events (# 360)…

Page 44: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Common activities (#70)

Page 45: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Job step level

reference model

discovered model

Page 46: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Conformance checker (reference model – job steps)

Page 47: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Discovered models fit better than reference model

Page 48: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

ProM’s cloud chamber miner

Page 49: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

ProM’s Frequency abstraction miner

Page 50: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Conclusion• Reality is different from models!• The existence of event data

enables a wide variety of process mining techniques: discovery and conformance.

• In the context of services theremany event logs around!

• ProM supports this (150 plug-ins)• Although quite successful for

"structured processes", "spaghetti processes" remain a challenge (two examples were given).

• Research should aim to address this challenge.

software system

process/systemmodel

eventlogs

modelsanalyzes

discovery

records events, e.g., messages,

transactions, etc.

specifiesconfiguresimplements

analyzes

supports/controls

conformance

“world”

people machines

organizationscomponents

business processes

verification

Page 51: Process Mining in the Context of Web Services · Process Mining in the Context of Web Services Prof.dr.ir. Wil van der Aalst ... SAP PeopleSoft InConcert IBM MQSeries CPN Tools CVS

Relevant WWW sites

• http://www.processmining.org• http://promimport.sourceforge.net

• http://prom.sourceforge.net

• http://www.workflowpatterns.com

• http://www.workflowcourse.com

• http://www.win.tue.nl/is/

• http://is.tm.tue.nl/staff/wvdaalst