flexible behaviour of human actors in distributed
play

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


  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

  2. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  3. Motivation � Requirement: � Test: scheduling protocols, polices and regulation � Goal: � business productivity � Possible Solution: � Model and simulate business processes to gather data

  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.

  5. Key Modelling Language Requirements 1. Dynamic (re)-allocation of roles Predetermined polices 2. Temporal Escalation Handling 3. Scheduling and Load Balancing 4. Human Error and Recovery (Backtracking) Human unpredictability

  6. Feature Diagram : BP for Flexible Human Actors (BPFHA) BPFHA Access Dynamic Human Scheduling Assignment Load Escalation Control (re)- Error & Policy Balancin assignment Recovery g Deadline Priority Role promotion and demotion

  7. Basic Methodology Steps Describe: Business requirements 1. Formulate: Performance questions Model: Business process 2. Define: Tests to answer performance questions 3. Assign: Probability distribution to actions in the 4. business process Perform: Simulation 5. Analyze: Simulation results 6.

  8. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  9. Case Study: Performance Question Does escalation and/or load balancing: � increase the percentage of prescriptions that are completed within a given deadline, or � Reduce the time that prescription cases run past their deadline?

  10. Pharmacy Case Study: Actors, Roles, Responsibilities Actors (Job Position) Roles � Dispensing Pharmacist � Entry Technician � Filling Technician � Pharmacy Cashier � Customer

  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

  12. Filling Prescription Typing Prescription Printing Prescription Label Typical: Occasional: Scenario Scenario Checking Filled Prescription Receive Payment Counsel Customer

  13. Finite State Machine

  14. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  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

  16. M1-O1 Concrete Syntax (Part 1 of 2)

  17. M1-O1 Concrete Syntax (Part 2 of 2)

  18. DSL Syntax (M1-O0) 10) 9) 6) 7) 8) 1) 2) 3) 4) 5)

  19. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application � Future Work Scenario � Rule-based Approach

  20. Escalation level 1 1 min to deadline Requires a Pharmacist Initial State: 1 Case “check” state

  21. Minute Later: Arrival of new high priority case pharmacist assigned Escalation level raised Priority level 3 At “type” Missing filled ∴ backtrack state prescription to “fill” state

  22. 2 minutes later: priority vs. escalation Pharmacist assigned to Cashier temp entry technician role capability Request filling technician

  23. Minute Later: temp assignment and accomplished action Temp assignment Prescription is typed ready to print

  24. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  25. Graph Transformation System Background Information � Type Graph � Models the conceptual structure and provides types for the instance graphs

  26. 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

  27. Graph Transformation Rules Domain Specific Managerial � Type Prescription � Role request � Print Label � Role Assignment � Receive Payment � Role Unassignment � Fill Prescription � Clock tick � Check Prescription � Counsel � Distribute � Skip action � Backtrack action � Escalation Trigger

  28. Examples of GT Rules applied in scenario � Escalation Trigger � Assignment � Backtrack � New case � Request role � Domain specific action

  29. GT Rule: Escalation Trigger

  30. GT Rule: Assign Pharmacist

  31. GT Rule: Backtrack check state

  32. Delivery type and high priority New Case:

  33. Request FillingTechnician

  34. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  35. Stochastic Graph Transformation Normal Distribution Exponential Distribution

  36. 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

  37. Metamodel in Viatra

  38. Translate GT rules in DSL into Viatra textual syntax

  39. 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)"); } }

  40. Simulation � 2500 Simulation Steps � Batch size 3 � Represents 2.77 hours

  41. Start Graph in DSL

  42. Start Graph in Viatra

  43. Simulation Results

  44. Simulation Results

  45. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  46. Related Work vs. Requirements R1: R2: R3: R4: Dynamic Temporal Scheduling Human (re)- Escalation & Load Error & allocation Handling Balancing Recovery of roles � � � a) BPMN � � � b) WS-Humantask � � c) MILANO � � d) FlowMark � � e) InConcert � � f) Little-Jil � g) ADONIS

  47. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  48. Current Work

  49. Outline � Overview � Stochastic Graph Transformation � Case Study Simulation � Domain Specific � Related Works Language (DSL) � Current Work � Application Scenario � Future Work � Rule-based Approach

  50. 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

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend