Flexible Behaviour of Human Actors in Distributed Workflows Adwoa - - PowerPoint PPT Presentation

flexible behaviour of human actors in distributed
SMART_READER_LITE
LIVE PREVIEW

Flexible Behaviour of Human Actors in Distributed Workflows Adwoa - - PowerPoint PPT Presentation

Flexible Behaviour of Human Actors in Distributed Workflows Adwoa Donyina & Reiko Heckel (add7@le.ac.uk) (reiko@mcs.le.ac.uk) Department of Computer Science University of Leicester United Kingdom Outline Overview Stochastic Graph


slide-1
SLIDE 1

Flexible Behaviour of Human Actors in Distributed Workflows

Adwoa Donyina & Reiko Heckel

(add7@le.ac.uk) (reiko@mcs.le.ac.uk) Department of Computer Science University of Leicester United Kingdom

slide-2
SLIDE 2

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-3
SLIDE 3

Motivation

Requirement:

Test: scheduling protocols, polices and regulation Goal: business productivity

Possible Solution:

Model and simulate business processes to gather

data

slide-4
SLIDE 4

Problem

Human behaviour is only predictable to a

degree of probability

It is difficult to accurately model and

simulate the dynamic behaviour of humans in business processes, while clearly defining participants, roles and responsibilities.

slide-5
SLIDE 5

Key Modelling Language Requirements

  • 1. Dynamic (re)-allocation of roles
  • 2. Temporal Escalation Handling
  • 3. Scheduling and Load Balancing
  • 4. Human Error and Recovery (Backtracking)

Predetermined polices Human unpredictability

slide-6
SLIDE 6

Feature Diagram: BP for Flexible Human Actors (BPFHA)

Role promotion and demotion BPFHA Dynamic (re)- assignment Access Control Human Error & Recovery Scheduling Assignment Policy Load Balancin g Escalation Priority Deadline

slide-7
SLIDE 7

Basic Methodology Steps

1.

Describe: Business requirements Formulate: Performance questions

2.

Model: Business process

3.

Define: Tests to answer performance questions

4.

Assign: Probability distribution to actions in the business process

5.

Perform: Simulation

6.

Analyze: Simulation results

slide-8
SLIDE 8

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-9
SLIDE 9

Case Study: Performance Question

Does escalation and/or load balancing:

increase the percentage of prescriptions that

are completed within a given deadline,

  • r

Reduce the time that prescription cases run

past their deadline?

slide-10
SLIDE 10

Pharmacy Case Study: Actors, Roles, Responsibilities

Actors (Job Position) Roles

Dispensing Pharmacist Entry Technician Filling Technician Pharmacy Cashier Customer

slide-11
SLIDE 11

Determine the effectiveness of Escalation Handling & Load Balancing

Escalation Handling:

Level 1 pharmacy cashiers - entry technician Level 2 pharmacy cashiers - filling technicians Level 3 untrained pharmacy students - filling

technicians and/or entry technicians

Load Balancing:

The option to transfer prescriptions

slide-12
SLIDE 12

Typical: Scenario

Typing Prescription Printing Prescription Label Filling Prescription Checking Filled Prescription Receive Payment Counsel Customer

Occasional: Scenario

slide-13
SLIDE 13

Finite State Machine

slide-14
SLIDE 14

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-15
SLIDE 15

Metamodel

Linguistic: ontological instance-of relationships Elements:

Actor (Person) Role (RoleInstance) Process(Case) Escalation Capability

  • ArtifactType (Artifact)

AttributeDeclaration (AttributeValue)

Evolved from analysis of other approaches:

Role Based Access Control (RBAC) Organisational Metamodel

slide-16
SLIDE 16
slide-17
SLIDE 17

M1-O1 Concrete Syntax (Part 1 of 2)

slide-18
SLIDE 18

M1-O1 Concrete Syntax (Part 2 of 2)

slide-19
SLIDE 19

DSL Syntax (M1-O0)

1) 2) 3) 4) 8) 6) 7) 5) 9) 10)

slide-20
SLIDE 20

Outline

Overview Case Study Domain Specific

Language (DSL)

Application

Scenario

Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-21
SLIDE 21

Initial State: 1 Case

Escalation level 1 “check” state 1 min to deadline Requires a Pharmacist

slide-22
SLIDE 22

Minute Later: Arrival of new high priority case

Priority level 3 pharmacist assigned Missing filled prescription ∴ backtrack to “fill” state Escalation level raised At “type” state

slide-23
SLIDE 23

2 minutes later: priority vs. escalation

Pharmacist assigned to entry technician role Cashier temp capability Request filling technician

slide-24
SLIDE 24

Minute Later: temp assignment and accomplished action

Prescription is typed Temp assignment ready to print

slide-25
SLIDE 25

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-26
SLIDE 26

Graph Transformation System Background Information

Type Graph

Models the conceptual structure and provides

types for the instance graphs

slide-27
SLIDE 27

GT Background Continued

Graph Transformation (GT) Rules

Composed of pair of instance graphs

Left-hand side (L): precondition of the rule Right-hand side (R): postcondition of the rule

Used for rule-based modification on instance

graphs

slide-28
SLIDE 28

Graph Transformation Rules

Domain Specific

Type Prescription Print Label Receive Payment Fill Prescription Check Prescription Counsel Distribute Skip action Backtrack action Escalation Trigger

Managerial

Role request Role Assignment Role Unassignment Clock tick

slide-29
SLIDE 29

Examples of GT Rules applied in scenario

Escalation Trigger Assignment Backtrack New case Request role Domain specific action

slide-30
SLIDE 30

GT Rule: Escalation Trigger

slide-31
SLIDE 31

GT Rule: Assign Pharmacist

slide-32
SLIDE 32

GT Rule: Backtrack check state

slide-33
SLIDE 33

New Case: Delivery type and high priority

slide-34
SLIDE 34

Request FillingTechnician

slide-35
SLIDE 35

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-36
SLIDE 36

Stochastic Graph Transformation

Normal Distribution Exponential Distribution

slide-37
SLIDE 37

Graph-based Stochastic Simulation (GraSS)

An extension of the Viatra Eclipse-based

model transformation tool

Define metamodel, and models in Viatra

model space

Translate GT Rules in Viatra textual syntax

slide-38
SLIDE 38

Metamodel in Viatra

slide-39
SLIDE 39

Translate GT rules in DSL into Viatra textual syntax

slide-40
SLIDE 40

Example GT rule in Viatra textual syntax (VTCL)

gtrule BacktrackRule_checkState()= { precondition pattern lhs(Case_,State_) = { Case(Case_); AttributeValue(AttributeValue_); find RequiresChecked(Case_,AttributeValue_); find DPassigned (Case_,RoleInstance_,Role_,Person_); neg find FilledPrescriptionExist(Case_,Artifact_,ArtifactType_); Case.state(State_); Case.attr4(R1,Case_,State_); check (value(State_)== "check"); } action { setValue(State_,"fill"); println("error (backtrack to fill state)"); } }

slide-41
SLIDE 41

Simulation

2500 Simulation Steps Batch size 3 Represents 2.77 hours

slide-42
SLIDE 42

Start Graph in DSL

slide-43
SLIDE 43

Start Graph in Viatra

slide-44
SLIDE 44

Simulation Results

slide-45
SLIDE 45

Simulation Results

slide-46
SLIDE 46

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-47
SLIDE 47

Related Work vs. Requirements

R1: Dynamic (re)- allocation

  • f roles

R2: Temporal Escalation Handling R3: Scheduling & Load Balancing R4: Human Error & Recovery a) BPMN

  • b) WS-Humantask
  • c) MILANO
  • d) FlowMark
  • e) InConcert
  • f) Little-Jil
  • g) ADONIS
slide-48
SLIDE 48

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-49
SLIDE 49

Current Work

slide-50
SLIDE 50

Outline

Overview Case Study Domain Specific

Language (DSL)

Application Scenario Rule-based

Approach

Stochastic Graph

Transformation Simulation

Related Works Current Work Future Work

slide-51
SLIDE 51

Future Work: Evaluate the method

Usability:

usability testing: ease-of-use

Expressiveness:

Check completeness with respect to

requirements

Scalability:

larger models and longer periods of simulation

slide-52
SLIDE 52