35
Business Process Mining and Conformance Diogo R. Ferreira IST – Technical University of Lisbon [email protected] BPM Lisbon 2008

Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Business Process Mining and Conformance

Diogo R. Ferreira

IST – Technical University of [email protected]

BPM Lisbon 2008

Page 2: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Top-down vs. bottom-up

BPM Lisbon 2008 2

Page 3: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Life cycle

BPM Lisbon 2008 3

Observe

Design Execute

Design Execute

Analyze

Past

Future

Page 4: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Process mining

BPM Lisbon 2008 4

Page 5: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Mining potential

BPM Lisbon 2008 5

Logs

data access

controlflow

businessrules

performance

auditing

security

roles andgroups

social network

Page 6: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

• internal control (e.g. Sarbanes-Oxley)

• risk management (e.g. Basel II)

• best practices (e.g. ITIL)

• etc.

• are processes being performed according to plan?

• do processes adhere to common best practices?

• …

Need for conformance

BPM Lisbon 2008 6

Page 7: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

ITIL

• ITIL = Information Technology Infrastructure Library

– comprehensive framework of best practices for ITSM• service level management

• capacity management

• incident management

• configuration management

• release management

• change management

• etc.

• customer-focus, quality, availability, reliability, cost,…

BPM Lisbon 2008 7

Page 8: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

ITIL Assessment

• compare:

– the way the ITSM is currently performed

– the ITIL guidelines

• possible gaps

– process, people, technology, services supplied by third parties, etc.• a gap exists if not all incidents are recorded

• a gap exists if incidents are not classified

• etc.

• identify requirements for ITIL implementation

BPM Lisbon 2008 8

Page 9: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Process conformance

BPM Lisbon 2008 9

requirements& best practices

expected data & behaviour

processmodel

existing supportsystems

monitoring & analysis

discoveredmodel

Page 10: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Case Study

Incident Management

BPM Lisbon 2008 10

Page 11: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

ITIL Incident Management

• definition of incident– any event causing interruption or reduction in QoS

• purpose of incident management– restore normal service level as soon as possible

• comprises1. Recording

2. Classification

3. Matching

4. Diagnosis

5. Resolution

6. Closure

BPM Lisbon 2008 11

Page 12: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

ITIL Incident Management – Escalation

BPM Lisbon 2008 12

Recording

Analysis

Resolution

Closure

? Analysis

Resolution

? Analysis

Resolution

?

Closure Closure

ChangeManagement

ProblemManagement

2nd level 3rd level

Page 13: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Case study scenario

• IT company

– complex software platform for custom business solutions

– continuously improved by successive release versions

– extensive in-house testing• both manual and automated

– users play active role• desired improvements

• problems to be solved

– issue handling process & supporting system

BPM Lisbon 2008 13

Page 14: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Case study scenario

BPM Lisbon 2008 14

Issues

Customers Support team

Page 15: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Case study scenario

BPM Lisbon 2008 15

Recording

Classification& Matching

Diagnosis

Resolution

Closure

Page 16: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

System database

BPM Lisbon 2008 16

STATE

ISSUE

DATE

PRIORITY

Page 17: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Priority

BPM Lisbon 2008 17

0

1000

2000

3000

4000

5000

6000

7000

8000

9000

1-Top 2-High 3-Normal 4-Low

# is

sue

s

Page 18: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

State

BPM Lisbon 2008 18

0 10000 20000 30000 40000 50000 60000

1-New

3-Assigned

4-Open

5-Resolved

21-Approved

6-Closed

D-Duplicated

X-Discarded

8-Waiting

N-Not Resolved

2-Needs Approval

P-Postponed

9-Needs Verification

25-Needs Specification

N-Not Approved

Page 19: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Sequence length

BPM Lisbon 2008 19

0

250

500

750

1000

1250

1500

0 5 10 15 20 25 30 35 40 45 50

# is

sue

s

# events

Page 20: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Sequence length

• Shortest sequence:

New (1 event)

• Longest sequence:

New => New => New => New => Assigned => Assigned => Assigned => Assigned => Approved

=> Approved => Approved => Approved => Approved => Approved => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Waiting => Assigned => Assigned => Assigned => Open => Waiting => NotResolved => NotResolved => New => New => New => New => Assigned => Open => Open => Waiting => Open => Open => Waiting => Waiting => Resolved => Resolved => Resolved => Resolved => Resolved => Resolved => Closed (75 events)

• Average length: 143 220 / 14 982 ≈ 10 events

BPM Lisbon 2008 20

Page 21: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Input data

• 14 982 sequences in total

• 7164 different sequences!

– on average, each sequence repeats only once (2x)

• 5909 unique sequences!

– 40% of all behavior never repeats itself!

BPM Lisbon 2008 21

Strong component of ad-hoc behavior!

Page 22: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

1. Drop consecutive repeated events

BPM Lisbon 2008 22

New => New => New => New => Duplicated

New => Duplicated

New => Assigned => Assigned => Open => Resolved => Resolved => Closed

New => Assigned => Open => Resolved => Closed

Eliminated 89 577 of 143 220 events (62.5%)

Page 23: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

0

500

1000

1500

2000

2500

3000

3500

4000

4500

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

# is

sue

s

# events

Sequence length

BPM Lisbon 2008 23

Page 24: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

0 10000 20000 30000 40000 50000 60000

1-New

3-Assigned

4-Open

5-Resolved

21-Approved

6-Closed

D-Duplicated

X-Discarded

8-Waiting

N-Not Resolved

2-Needs Approval

P-Postponed

9-Needs Verification

25-Needs Specification

N-Not Approved

State

BPM Lisbon 2008 24

Page 25: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

2. Drop single-event sequences

• sequences with a single stepNew (419)

Closed (358)

Discarded (128)

Duplicated (83)

Approved (9)

Assigned (4)

NotResolved (4)

Resolved (2)

BPM Lisbon 2008 25

Eliminated 1007 of 14 982 sequences (6.7%)

Page 26: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

3. Drop sequences with repeated events

BPM Lisbon 2008 26

New => Assigned => Open => Resolved => Assigned => Resolved => Closed

New => Assigned => Approved => Open => Approved => NotResolved

New => Duplicated => New => Duplicated => New => Duplicated

Closed => Assigned => NeedsApproval => Approved => Resolved => Closed

New => Assigned => Open => Discarded => New => Approved => Discarded

New => Open => NotResolved => Open => NotResolved => Resolved => Closed

Eliminated 2584 of 13 975 sequences (18.5%)

Page 27: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

4. Drop unique sequences

• from very short ones:• Closed => Discarded

• Waiting => Approved

• Postponed => New

• to longer ones:• New => NeedsApproval => NeedsSpecification => Approved =>

Assigned => Resolved => Closed

• New => Discarded => Approved => Waiting => Assigned => Resolved => Closed => Duplicated

BPM Lisbon 2008 27

Eliminated 306 of 11 391 sequences (2.7%)

Page 28: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Most frequent sequences (top 20)

BPM Lisbon 2008 28

0 200 400 600 800 1000 1200

New => Open => Resolved => Closed

New => Assigned => Open => Resolved => Closed

New => Duplicated

New => Discarded

New => Approved

Assigned => Closed

New => Assigned => Resolved => Closed

New => Assigned

New => Resolved => Closed

New => Approved => Duplicated

New => Assigned => Open => Closed

New => Approved => Open => Resolved => Closed

New => Assigned => Duplicated

Assigned => Open => Closed

New => NotResolved

New => Assigned => Closed

New => Assigned => Discarded

New => Open => Resolved

New => Assigned => Open => Resolved

New => Approved => Resolved => Closed

10.3%

264 different sequences11 085 total sequences

Page 29: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Global behavioral model

BPM Lisbon 2008 29

Page 30: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

BPM Lisbon 2008 30

Page 31: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

BPM Lisbon 2008 31

Page 32: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

BPM Lisbon 2008 32

Page 33: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Explaining the results

• New => Approved (?)

– issue approval is no longer being used

– approval is implicit in New => Assigned

• New => Open (?)

– support team skips steps when solution obvious

• Open => Assigned (?)

– arbitrary loops / wrong assignment / escalation

• Assigned / Open => Duplicated / Discarded (?)

– decision comes later when more data is available

BPM Lisbon 2008 33

Page 34: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Conclusion

• case study

– overall behaviour is close to Incident Management

– unusual behavior can now be further investigated

• in general

– process mining facilitates extraction and analysis

– valuable tool for process conformance

– relies on available systems and data

– focus on behavioral perspective

BPM Lisbon 2008 34

Page 35: Business Process Mining and Conformanceweb.tecnico.ulisboa.pt/~diogo.ferreira/talks/ferreira08bpmlisbon.pdf · •desired improvements •problems to be solved –issue handling process

Additional info & resources

• Process Mining Group: http://www.processmining.org/

• ProM Framework: http://prom.sourceforge.net/

• Process Mining TV: http://ga1717.tm.tue.nl/user/christian/pmtv/

• W.M.P. van der Aalst and A.J.M.M. Weijters, Process Mining: A Research Agenda, Computers in Industry, vol.53, no.3, pp.231-244, 2004

• A. Rozinat, W. van der Aalst, Conformance checking of processes based on monitoring real behavior, Information Systems, vol.33, no.1, 2008

• D. Ferreira, M. Zacarias, M. Malheiros, P. Ferreira, Approaching ProcessMining with Sequence Clustering: Experiments and Findings, 5th

International Conference on Business Process Management (BPM 2007), LNCS 4714, Springer, 2007

• ITIL: http://www.itil-officialsite.com/

BPM Lisbon 2008 35