124

Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

  • Upload
    dotu

  • View
    219

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 2: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Äriprotsesside modelleerimine ja

automatiseerimine Loeng 3

Protsessi analüüs

Enn Õunapuu

[email protected]

Page 3: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Sisu

• Protsessi analüüs

• Disco

• Küsimused

3

Page 4: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Kursuse sisu lihtsalt

Kursuse edukalt läbinu oskab ettevõtte

protsess kirjeldada, dokumenteerida,

analüüsida, mõõta ja parandada ja

automatiseerida.

4

Page 5: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Äriprotsessi määrang

• The word “process” is defined in the dictionary

as “a series of actions, changes, or

functions bringing about a result”

• Martyn Ould: A process is a coherent set of

activities carried out by a collaborating group

to achieve a goal

5

Page 6: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

6

Page 7: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Business process measurement

Process mining – ProM

Page 8: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Probleem

Page 9: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Chapter 17

Process Mining and

Simulation

Moe Wynn

Anne Rozinat

Wil van der Aalst

Arthur ter Hofstede

Colin Fidge

Page 10: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Overview

• Introduction

• Preliminaries

• Process mining (with ProM)

• Process simulation for operational decision

support

• Tools: YAWL, ProM & CPN Tools

• Conclusions

Page 11: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Introduction

• Correctness, effectiveness and efficiency of

business processes are vital to an

organization

• Significant gap between what is prescribed

and what actually happens

• Process owners have limited info about what

is actually happening

• Model-based (static) analysis

Validation

Verification (correctness of a model)

Performance analysis

• Process Mining – post-execution analysis

• Process Simulation – ‘what-if’ analysis

Page 12: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Preliminaries

Page 13: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Preliminaries: Data Logging

• Keeping track of execution data

Activities that have been carried out

Timestamps (Start and end times of activities)

Resources involved

Data

• Purposes

Audit trails

Disaster recovery

Monitoring

Data Mining

Process Mining

Process Simulation

Page 14: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Preliminaries: Process Mining

• Event logs (recorded actual behaviors)

• Covers a wide-range of techniques

• Provide insights into

control flow dependencies

data usage

resource involvement

performance related statistics etc.

• Identify problems that cannot be identified by

inspecting a static model alone

Page 15: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Preliminaries: Process Simulation

• Develop a simulation model at design time

• Carry out experiments under different

assumptions

• Used for process reengineering decisions

• Data input is time-consuming and error-prone

• Requires careful interpretation

Abstraction of the actual behavior

Different assumptions made

Inaccurate or Incomplete data input

Starts from an empty initial state

Page 16: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

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 17: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Example: mining student data

• Process discovery: "What is the real curriculum?"

• Conformance checking: "Do students meet the prerequisites?"

• Performance analysis: "Where are the bottlenecks?"

• Process prediction: "Will a student complete his studies (in time)?"

• Process improvement: "How to redesign the curriculum?"

Page 18: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

software

system

process/

system

model

event

logs

models

analyzes

discovery

records

events, e.g.,

messages,

transactions,

etc.

specifies

configures

implements

analyzes

supports/

controls

conformance

“world”

people machines

organizations

components

business processes

Process mining: Linking events to

models

Page 19: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Where to start?

process

design

implementation/

configuration

process

enactment

diagnosisprocess

controlprocess mining

Page 20: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Process Mining with ProM

Page 21: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

ProM framework

• One of the leading approaches to Process

Mining http://www.processmining.org/

• Covers a wide range of analysis approaches

• 250+ plug-ins

Process Discovery

Social Network

Conformance Checking

• Conversion capabilities between different

formalisms

Petri nets, EPCs, BPMN, BPEL, YAWL

• Mining XML (MXML) log format

Page 22: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Basic Performance Analysis

Page 23: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Resource Analysis

Page 24: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

LTL Checker

Page 25: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

throughput

time

bottle-

necks

flow time

from A to

B

Performance analysis showing

bottlenecks

Page 26: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Dotted chart analysis

time

(relative)

case

s

short

cases

long

cases

46138 events

Page 27: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

ProM and YAWL • YAWL logs workflow events and data attributes

• An extractor function available as a ProMImport plug-in

• ProM can analyze YAWL logs in MXML format

• Prom can transform YAWL models into Petri nets

<Process id="Payment_subprocess.ywl">

<ProcessInstance id="3f9dfc70-5420-40e7-b9f7-329b5c6f0ded">

<AuditTrailEntry>

<WorkflowModelElement>Check_PrePaid_Shipments_10</WorkflowModelElement>

<EventType>start</EventType>

<Timestamp>2008-07-08T10:11:18.104+01:00</Timestamp>

<Originator>JohnsI</Originator>

</AuditTrailEntry>

<AuditTrailEntry>

<Data><Attribute name="PrePaidShipment">true</Attribute></Data>

<WorkflowModelElement>Check_PrePaid_Shipments_10</WorkflowModelElement>

<EventType>complete</EventType>

<Timestamp>2008-07-08T10:11:28.167+01:00</Timestamp>

<Originator>JohnsI</Originator>

</AuditTrailEntry>

</ProcessInstance>

</Process>

Page 28: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Starting point: event logs

YAWL logs or other event

logs, audit trails, databases,

message logs, etc.

unified event log

(MXML)

Page 29: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Process Simulation

Page 30: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Integrated Simulation Approach

Page 31: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Linking process mining to simulation • Gather process statistics using process mining

techniques

• Calibrate simulation experiments with this data

• Analyze simulation logs in the same way as execution

logs

Page 32: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Data sources for process

characteristics • Design (Workflow and Organizational Models)

Control and data flow

Organizational model

Initial data values

Role assignments

• Historical (Event logs) Data value range distributions

Execution time distributions

Case arrival rate

Resource availability patterns

• State (Workflow system) Progress state

Data values for running cases

Busy resources

Run time for cases

Page 33: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Tools: YAWL, ProM and CPN Tools

Page 34: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Architecture II • YAWL

Create and execute process models

Maintain organizational models

Extractor functionalities for event logs, organizational models and

current state of the workflow system

• ProM

Translate and integrate all the components into a Petri nets model

Analyze event logs and simulation logs

• CPN Tools

Run simulation experiments

Incorporate current state of workflows

Generate simulation logs

Page 35: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Tool: Architecture

Page 36: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 37: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Tool: Architecture

•Use existing models

Page 38: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Tool: Architecture II

•Use existing models

•Derive parameters

Page 39: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Tool: Architecture III

•Use existing models

•Derive parameters

•Consider current state

Page 40: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Tool: Architecture IV

•Use existing models

•Derive parameters

•Consider current state

•Simulation logs in MXML

Page 41: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Simulation: Example Payment

[Invoice required][else] [pre-paid shipments]

payment for the shipment

c: Finance Officer

o: Account Manager

customer makes the payment

c: Senior Finance Officer

Start

Issue Shipment

Invoice s: Supply Admin Officer

Check

Pre-paid

shipments

Issue Shipment

Remittance Advice

Issue Shipment

Payment Order

Approve Shipment

Payment Order

Update Shipment

Payment Order

Issue Credit

Adjustment

issue Debit

Adjustment

Finalise

Produce Freight

Invoice

Check Invoice

Requirement

End

Process Shipment

Payment

Complete

Invoice

Requirement

[payment incorrect due to

overcharge]

[payment correct][payment incorrect due to

underpayment]

account settled

payment for the freight

o: Account Managero: Account Manager

c: Finance Officer

c: Finance Officer

s: Supply Admin Officer

customer notified of the payment, customer makes the payment

[s. order approved][s. order not approved]

s: Supply Admin Officer

Process Freight

Payment

s: Supply Admin Officer

s: Supply Admin Officer

s: Supply Admin Officer

s: Supply Admin Officer

o: Account Manager

c: Finance Officer

Page 42: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Simulation: Example

• 13 staff members

5 `supply admin officers‘

3 `finance officers'

2 `senior finance officers'

3 `account managers‘

• Case arrival rate: 50 payments per week

• Throughput time: 5 working days on average

• 30% of shipments are pre-paid

• 50% of orders are approved first-time

• 20% of payments are underpaid

• 10% of payments are overpaid

• 70% of payments are correct

• 80% of orders require invoices

• 20% of orders do not require invoices

Assumption: Payment process running in YAWL for some time.

Page 43: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Simulation: Scenario

• 4 weeks till the end of financial year

• A backlog of 30 payments (some for more

than a week)

• Goal: All payments to be processed in 4

weeks time

• Run simulation experiments to

see if the backlog can be cleared using current

resources

evaluate the effect of avoiding underpayments

• Possible remedial action: Allocate more

resources

Page 45: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

CPN Tools

Page 46: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Four Scenarios

1. An empty initial state ( ‘empty’)

2. After loading the current state file with the 30

applications currently in the system (‘as is’)

3. After loading the current state file but adding

13 extra resources (‘to be A’)

4. After loading the current state file but

changing the model so that underpayments

are no longer possible (‘to be B')

Page 47: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Evaluation

Page 48: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Simulation for operational decision

support • Combine the real process execution log (`up

to now') and the simulation log (which

simulates the future `from now on')

• Look at the process execution in a unified

manner

• Track both the history and the future of current

cases

Page 49: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Alpha algorithm

α

Page 50: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Process log

• Minimal information in log: case id’s and task id’s.

• Additional information: event type, time, resources, and data.

• In this log there are three possible sequences: ABCD

ACBD

EF

case 1 : task A

case 2 : task A

case 3 : task A

case 3 : task B

case 1 : task B

case 1 : task C

case 2 : task C

case 4 : task A

case 2 : task B

case 2 : task D

case 5 : task E

case 4 : task C

case 1 : task D

case 3 : task C

case 3 : task D

case 4 : task B

case 5 : task F

case 4 : task D

Page 51: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

>,,||,# 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 AB

AC

BD

CD

EF

case 1 : task A

case 2 : task A

case 3 : task A

case 3 : task B

case 1 : task B

case 1 : task C

case 2 : task C

case 4 : task A

case 2 : task B

case 2 : task D

case 5 : task E

case 4 : task C

case 1 : task D

case 3 : task C

case 3 : task D

case 4 : task B

case 5 : task F

case 4 : task D

A>B

A>C

B>C

B>D

C>B

C>

D

E>F B||C

C||B

Page 52: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Basic idea (1)

x y

xy

Page 53: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Basic idea (2)

xy, xz, and y||z

x

z

y

Page 54: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Basic idea (3)

xy, xz, and y#z

x

z

y

Page 55: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Basic idea (4)

xz, yz, and x||y

x

y

z

Page 56: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Basic idea (5)

xz, yz, and x#y

x

y

z

Page 57: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

It is not that simple: Basic alpha

algorithm

Let W be a workflow log over T. a(W) is defined as follows.

1. TW = { t T | $s W t s},

2. TI = { t T | $s W t = first(s) },

3. TO = { t T | $s W t = last(s) },

4. XW = { (A,B) | A TW B TW "a A"b B a W b "a1,a2 A

a1#W a2 "b1,b2 B b1#W b2 },

5. YW = { (A,B) X | "(A,B) XA A B B (A,B) = (A,B) },

6. PW = { p(A,B) | (A,B) YW } {iW,oW},

7. FW = { (a,p(A,B)) | (A,B) YW a A } { (p(A,B),b) | (A,B) YW b

B } { (iW,t) | t TI} { (t,oW) | t TO}, and

8. a(W) = (PW,TW,FW).

The alpha algorithm has been proven to be correct for a large class of free-choice nets.

Page 58: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Example

case 1 : task A case 2 : task A case 3 : task A case 3 : task B case 1 : task B case 1 : task C case 2 : task C case 4 : task A case 2 : task B case 2 : task D case 5 : task E case 4 : task C case 1 : task D case 3 : task C case 3 : task D case 4 : task B case 5 : task F case 4 : task D

A

B

C

D

E F

a(W)

W

Page 59: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

DEMO Alpha algorithm

A

E

G

invite

reviewers

D

get review 2

time-out 2

collect

reviews

H

decide

I

accept

J

reject

invite

additional

reviewer

K

M

L

get review X

time-out X

C

B

get review 1

time-out 1

G

F

get review 3

time-out 3

48 cases

16 performers

Page 60: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Logging system

• Nlog

• NLog can process diagnostic messages

emitted from any

.NET language (such as C# or Visual Basic),

augment them with contextual information

(such as date/time, severity, thread, process,

environment enviroment), format them

according to your preference and send them

to one or more targets such as file or

database.

Page 61: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Supported targets

• Files - single file or multiple, with automatic file

naming and archival

• Event Log - local or remote

• Database - store your logs in databases

supported by .NET

• Network - using TCP, UDP, SOAP, MSMQ

protocols

• Command-line console - including color coding

of messages

• E-mail - you can receive emails whenever

application errors occur

• ASP.NET trace

• ... and many more

Page 62: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Conclusions

• Introduction

Concise assessment of reality needed for processes

• Preliminaries

Data logging, Process Mining, Process Simulation

• Process mining with ProM

Understanding process characteristics

• Process simulation

Operational decision support

Utilizing log info for simulation experiments

• Tools: YAWL, ProM & CPN Tools

Payment example

• Conclusion

Page 63: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

ProM usage

• ProM usage example

Page 64: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Log

Page 65: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Process model mined from log

Page 66: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Example • The running example is about a process to repair telephones in a

company. The company have 3 types of phones (\T1", \T2" and \T3"). The

process starts by registering a telephone device sent by a customer. After

registration, the telephone is sent to the Problem Detection (PD)

department. There it is analyzed and its defect is categorized. In total,

there are 10 dierent categories of defects that the phones xed by this

company can have. Once the problem is identifed, the telephone is sent to

the Repair department and a letter is sent to the customer to inform

him/her about the problem. The Repair (R) department has two teams.

One of the teams can x simple defects and the other team can repair complex

defects. However, some of the defect categories can be repaired by both

teams.

Once a repair employee nishes working on a phone, this device is sent to the

Quality Assurance (QA) department. There it is analyzed by an employee

to check if the defect was indeed fixed or not. If the defect is not repaired,

the telephone is again sent to the Repair department. If the telephone is

indeed repaired, the case is archived and the telephone is sent to the

customer. To save on throughput time, the company only tries to x a defect

a limited number of times. If the defect is not xed, the case is archived

anyway and a brand new device is sent to the customer.

Page 67: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

What we can do?

• Inspecting and Cleaning an Event Log

• Mining the Control-Flow Perspective of a

Process - “Alpha algorithm“

• Social networks

Page 68: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Example Scenario

•Purchasing process ERP

Requester Purchasing

Agent

Requester

Manager Supplier Financial

Manager

Page 69: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Problems

1. Inefficient operations

2. Need to demonstrate compliance

3. Complaints about process duration

Page 70: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Analysis Goals

1. Understand the process in detail

2. Check whether there are deviations

from the payment guidelines

3. Control performance targets (21

days)

Page 71: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Outline

1. Example Scenario

2. Roadmap

3. Hands-on Session

4. Take-away Points

Page 72: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Roadmap

• Determine

questions

• Process

scope

• Which IT

systems

• Via DB

administrato

r

• CSV file or

database

extract

• Extract ‘As-

is’ process

• Answer

questions

• Present results

(e.g., report,

presentation,

workshop etc.)

Page 73: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

1. How does the process actually look like?

2. Are there deviations from the prescribed process?

3. Do we meet the performance targets?

Roadmap

Page 74: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Roadmap

Page 75: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•IT staff extracts history logs from the

ERP system

•CSV file is starting point for our session

ERP

CSV

Data

Data Extraction

Page 76: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Roadmap

Page 77: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•We use the process mining tool Disco to perform the

data analysis

CSV

Data

Download from

fluxicon.com/disco

Data Analysis

Page 78: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Focus of today’s session

Roadmap

Page 79: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Outline

1. Example Scenario

2. Roadmap

3. Hands-on Session

4. Take-away Points

Page 80: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Let’s get started!

Hands-on Session

Page 81: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Open PurchasingExample.csv file in Excel

and inspect its contents

- Every row corresponds to one event

- You can see information about Case IDs, Activities,

Start and end times, Resources, Roles

Step 1 - Inspect Data

Page 82: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 83: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Load PurchasingExample.csv in Disco

Assign columns as follows:

- Case ID ➞ Case ID

- Start and Complete Timestamp ➞ Timestamp

- Activity ➞ Activity

- Resource ➞ Resource

- Role ➞ Other

•Click ‘Start import’

Step 2 - Import Data

Page 84: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 85: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Look at the resulting process model

- Numbers in rectangles are activity frequencies

- Number at arcs is frequency of connection

•→ You see the main process flows

- All 608 cases start with activity ‘Create Purchase Requisition’

- Lots of changes were made (amendments)!

Step 3 - Inspect Process

Page 86: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Start point

Page 87: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•It’s important to be able to adjust the level of detail

for the process map

•Move up the ‘Activities’ slider down to lowest

position (0%)

- Only the activities from the most frequent process variant are

shown

Step 3 - Inspect Process

Page 88: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 89: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Gradually move the ‘Activities’ slider up to 100%

again until all activities are shown

- Even infrequent activities such as ‘Amend Purchase

Requisition’ are shown

•You’ll notice that 11 cases are flowing in to ‘Amend Purchase Requisition’ but only 8 are moving out - Where are the other 3?

Step 3 - Inspect Process

Page 90: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 91: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Move up the ‘Paths’ slider up to the top

•You now see a 100% detailed picture of the

executed process

- The 3 missing cases move from ‘Amend Purchase

Requisition’ to ‘Create Request for Quotation’

Step 3 - Inspect Process

Page 92: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 93: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Look at ‘Statistics’ tab to see overview information

about event log

- 9,119 events were recorded for 608 cases

- Timeframe is January - October 2011

•The case duration is typically up to 15 or 16 days, but some cases take very long (more than 70 or 80 days!)

Step 4 - Inspect Statistics

Page 94: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 95: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Select ‘Cases’ tab to inspect variants and individual

service instances

- The third most frequent process variant ends after ‘Analyze

Purchase Requisition’ (ca. 10.36% of all cases follow this

pattern)

•→ Why are so many requests stopped? Do people

not know what they can buy? (We can find this back

in the process map, too)

Step 5 - Inspect Cases

Page 96: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 97: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Leading to

End point

Page 98: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Original Questions:

1. How does the process actually look like?

• Objective process map discovered • Lots of amendments and stopped requests:

Update of purchasing guidelines needed

2. Are there deviations from the prescribed process?

3. Do we meet the performance targets?

• Not by all (some take longer than 21 days): Where in the process do we lose the time? -> Next

Results so far...

Page 99: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Click on the Filter symbol in the lower left corner and

add a Performance filter

- Select 21 days as lower boundary

- You’ll see that ca. 15% of the purchase orders take longer than 21 days

• Press ‘Apply filter’ to focus only on those cases that take longer than 21 days

Step 6 - Filter on Performance

Page 100: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

1

2

Page 101: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 102: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•The filtered process map shows process flow for the

92 (15%) slow cases

- On average 3 amendments per case!

•Switch to ‘Performance’ view

- ‘Total duration’ shows the high-impact areas

- Switch to ‘Mean duration’: On average it takes more than 14

days to return from the rework loop to the normal process

Step 7 - Visualize Bottlenecks

Page 103: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 104: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Switch to ‘Mean

duration’

Page 105: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Visualize bottleneck: Press ▷ button to start animation

•Observe how purchase orders move through the

process

•Drag needle to end of time line and observe how the

most used paths get thicker and thicker

Step 8 - Animate Process

Page 106: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 107: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

1. How does the process actually look like?

• Objective process map discovered • Lots of amendments and stopped requests:

Update of purchasing guidelines needed

2. Are there deviations from the prescribed process? -> Next

3. Do we meet the performance targets?

• Not by all (some take longer than 21 days)

• The ‘Analyze Request for Quotation’ activity is a huge bottleneck: Process change is needed

Results so far...

Page 108: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Exit the animation, return to Filter settings, and

remove performance filter

•Switch back to Frequency Map view and scroll to end of the process

- 10 cases skip the mandatory ‘Release Supplier’s Invoice’

activity!

Step 9 - Compliance Check

1 2

Page 109: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 110: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Drill down: Click on the path from ‘Send invoice’ to

‘Authorize Supplier’s Invoice payment’ and press

‘Filter this path...’

•Switch to Cases view to see the 10 cases

- Actionable result: We can either change the operational

system to prevent the violation or provide targeted training

Step 9 - Compliance Check

Page 111: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Shortcut to

filter this path

Page 112: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 113: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

1. How does the process actually look like?

• Objective process map discovered • Lots of amendments and stopped requests:

Update of purchasing guidelines needed

2. Are there deviations from the prescribed process? -> Yes, training or system change needed

3. Do we meet the performance targets?

• Not by all (some take longer than 21 days)

• The ‘Analyze Request for Quotation’ activity is a huge bottleneck: Process change is needed

Results so far...

Page 114: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Last Step: We want to take an alternative view on the

data to see organizational flow

•Go to ‘Project view’ and press ‘Reload’:

•Set ‘Activity’ column to ‘Other’ and configure ‘Role’

column as ‘Activity’

1 2

Step 10 - Organizational View

Page 115: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 116: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Instead of the activity flow, we are now looking at how

the process moves through different roles in the

organization

- Inefficiencies can often be found at the borders of

organizational units

- Clearly, the Purchasing agents are causing the biggest delays

in the process!

Step 10 - Organizational View

Page 117: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 118: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•We learned how to discover a process model and

found opportunities to improve the process

•Now: Take action and verify results

Close the loop

Page 119: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

• Import data again and configure both ‘Activity’ and

‘Role’ column as ‘Activity’

- Can you see what happens now?

• Export XES file and analyze further in ProM

- Download ProM from http://promtools.org/

Bonus

Page 120: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 121: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow
Page 122: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Outline

1. Example Scenario

2. Roadmap

3. Hands-on Session

4. Take-away Points

Page 123: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

•Real processes are often more complex than

you would expect

•There is no one “right” model: You can take

multiple views on the same data

•Process mining is an explorative, interactive

activity

Take-away Points

Page 124: Äriprotsesside modelleerimine ja - ttu.eecloud.ld.ttu.ee/idu0111/Portals/0/Loengud/IDU0111_LOENG_3...Äriprotsesside modelleerimine ja ... Conformance Checking ... • YAWL logs workflow

Questions?

124