Prof. Marcello La Rosa BPM Discipline Queensland University of Technology.

Slides:



Advertisements
Similar presentations
Dive into WebRatio 6 BPM Milano, 25/03/2017
Advertisements

A university for the world real R © 2009, Appendix A The Order Fulfillment Process Model Marcello La Rosa Stephan Clemens Arthur.
Business Process Modelling -8.2/2013 -
Process Patterns in BizAGI. Slide 2 Overview Types of events Types of gateways Design patterns list.
Marlon Dumas marlon.dumas ät ut . ee
Business Process Modelling -9.2/ Marcello La Rosa Queensland University of Technology Brisbane, 19 September 2013.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 3: Input/output and co-processors dr.ir. A.C. Verschueren.
1 Introduction to modeling Process modelling. 2 Where are we? #TitleDate 1Introduction ORM modeling Relational modeling
Chapter 5 Sales and Collections Business Process
/faculteit technologie management PN-1 Petri nets refresher Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, Faculty of Technology Management,
Introduction to BizAgi. Slide 2 User Interface (Summary) The user interface for BizAgi resembles Office It uses a similar ribbon The Palette contains.
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” - may be of.
Close Registration Brief Description
CHAPTER 9: Input / Output
BPMN An Introduction ISIS. © ILOG, All Rights Reserved 2 Definition of BPMN Business Process Modeling Notation provides:  The capability of defining.
INPUT/OUTPUT ORGANIZATION INTERRUPTS CS147 Summer 2001 Professor: Sin-Min Lee Presented by: Jing Chen.
Department of Computer Science 1 CSS 496 Business Process Re-engineering for BS(CS)
© Richard Welke 2002 CIS 4120 Fa13: Define/Innovate BP’s Richard Welke Director, CEPRIN Professor, CIS Robinson College of Business Georgia State University.
Department of Computer Science 1 CSS 496 Business Process Re-engineering for BS(CS)
Marlon Dumas marlon.dumas ät ut . ee
CS-334: Computer Architecture
Marlon Dumas University of Tartu
1 Chapter Eight Exception Handling. 2 Objectives Learn about exceptions and the Exception class How to purposely generate a SystemException Learn about.
Session 5: Business Process Modeling (BPMN) Events
1. To start the process, Warehouse Stationery (WSL) will invite you to use The Warehouse Group Supplier Electronic Portal and will send you the link to.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
مهندسی مجدد فرآیندهای تجاری
© Richard Welke 2002 CIS 4120 Fa13: Define/Innovate BP’s Richard Welke Director, CEPRIN Professor, CIS Robinson College of Business Georgia State University.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
Time Management.  Time management is concerned with OS facilities and services which measure real time, and is essential to the operation of timesharing.
EMAS Walkthrough Registration, registration updates and consultation.
Petri nets refresher Prof.dr.ir. Wil van der Aalst
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
Marlon Dumas University of Tartu
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
1 Modeling workflows : The organizational dimension and alternative notations. Wil van der Aalst Eindhoven University of Technology Faculty of Technology.
/faculteit technologie management PN-1 مهندسی مجدد فرآیندهای تجاری بخش سوم: مدیریت منابع فرآیند Workflow Resource Management.
Process choreographies Prof. Dr. Koen Vanhoof. Choreographies Interconnection or full model - Redundancy leading to potential incompatible behaviour -
Operating Systems CMPSC 473 Signals, Introduction to mutual exclusion September 28, Lecture 9 Instructor: Bhuvan Urgaonkar.
BPMN.  BPMN will provide businesses with the capability of understanding their internal business procedures in a graphical notation.
Time Management.  Time management is concerned with OS facilities and services which measure real time.  These services include:  Keeping track of.
MTAT Business Process Management Lecture 2 – Process Modeling I Marlon Dumas marlon.dumas ät ut. ee 1.
Prof. Marcello La Rosa BPM Discipline Queensland University of Technology.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Prof. Marcello La Rosa BPM Discipline Queensland University of Technology.
Prof. Marcello La Rosa BPM Discipline Queensland University of Technology.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
Process Control Management Prepared by: Dhason Operating Systems.
MTAT Business Process Management Lecture 3 – Process Modeling II Marlon Dumas marlon.dumas ät ut. ee 1.
Integrated ISO ILL for staff users Borrowing requests – part two Yoel Kortick 2007.
Marlon Dumas University of Tartu
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
Business Process Modelling
Prof. Marcello La Rosa BPM Discipline Queensland University of Technology.
CRICOS No J a university for the world real R 1 Prof. Marcello La Rosa BPM Discipline Queensland University of Technology.
System Architect support for Business Process Modeling Notation (BPMN)
Marlon Dumas marlon.dumas ät ut . ee
CSS 496 Business Process Re-engineering for BS(CS)
Marlon Dumas marlon.dumas ät ut . ee
Marlon Dumas University of Tartu
Processor Fundamentals
Marlon Dumas marlon.dumas ät ut . ee
BPMN - Business Process Modeling Notations
BIC 10503: COMPUTER ARCHITECTURE
Exceptions and networking
Presentation transcript:

Prof. Marcello La Rosa BPM Discipline Queensland University of Technology

© Marcello La Rosa How do we react to external decisions? What is the difference between message events and send/receive tasks? Quick recap from Week 6

Handling exceptions

© Marcello La Rosa Let’s extend our PO handling process 4 A PO handling process starts when a PO is received. The PO is first registered. If the current date is not a working day, the process waits until the following working day before proceeding. Otherwise, an availability check is performed and a PO response is sent back to the customer. A PO change request may be received anytime after the PO is registered. This request includes a change in quantity or line items. When such a request is received, any processing related to the PO must be stopped. The PO change request is then registered. Thereafter, the process proceeds as it would do after a normal PO is registered. Further, if the customer sends a PO cancelation request after the PO registration, the PO processing must be stopped and the cancelation request must be handled. PO handling

© Marcello La Rosa Process abortion Exceptions are events that deviate a process from its “normal” course The simplest form of exception is to notify that there is an exception (negative outcome) This can be done via the Terminate end event: it forces the whole process to abort (“wipes off” all tokens left behind, if any) 5

© Marcello La Rosa Example 1: terminate event Signal the negative outcome… 6

© Marcello La Rosa Example 2: terminate event Abort the process by removing all tokens… 7

© Marcello La Rosa External: something goes wrong outside the process, and the execution of the current activity must be interrupted. Handled with the Message event Internal: something goes wrong inside an activity, whose execution must thus be interrupted. Handled with the Error event Timeout: an activity takes too long and must be interrupted. Handled with the Timer event Exception handling Handling exceptions often involves stopping a sub-process and performing a special activity Types of exceptions for an activity (task/sub-process) in BPMN: 8 All these events are catching intermediate events. They stop the enclosing activity and start an exception handling routine.

© Marcello La Rosa Solution: exception handling 8 PO handling

© Marcello La Rosa Must be attached to the activity’s boundary Internal exception: error event 10

© Marcello La Rosa Consider again our “PO Handling process” example with the following extension: if an item is not available, any processing related to the PO must be stopped. Thereafter, the client needs to be notified that the PO cannot be further processed. Example: internal exception 11 PO handling

© Marcello La Rosa Solution: internal exception Must catch an error event thrown from within the same activity 12 Throwing and catching error events must have the same label PO handling

© Marcello La Rosa Extend the claim handling process shown below as follows: After checking the insurance policy, a possible outcome is that the insurance is invalid. In this case, any processing is cancelled and a letter is sent to the customer. In the case of a complex claim, this implies that the damage checking is cancelled if it has not yet been completed. One more example: internal exception 13

© Marcello La Rosa Solution: internal exception 14

© Marcello La Rosa Once a wholesale order has been confirmed, the supplier transmits this order to the carrier for the preparation of the transportation quote. In order to prepare the quote, the carrier needs to compute the route plan (including all track points that need to be traversed during the travel) and estimate the trailer usage. By contract, wholesale orders have to be dispatched within four days from the receipt of the order. This implies that transportation quotes have to be prepared within 48 hours from the receipt of the order to remain within the terms of the contract. Example: activity timeout By contract, wholesale orders have to be dispatched within four days from the receipt of the order. This implies that transportation quotes have to be prepared within 48 hours from the receipt of the order to remain within the terms of the contract. Order-to-transportation quote

© Marcello La Rosa Solution: activity timeout Order-to-transportation quote

Non-interrupting events and complex exceptions

© Marcello La Rosa More on the PO handling example… 18 The customer may send a request for address change after the PO registration. When such a request is received, it is just registered, without further action. PO handling

© Marcello La Rosa Non-interrupting boundary events Sometimes we may need to trigger an activity in parallel to the normal flow, i.e. without interrupting the normal flow. This can be achieved by using non-interrupting boundary events 19 Must be attached to the activity’s boundary

© Marcello La Rosa Solution: non-interrupting boundary events 20 PO handling

© Marcello La Rosa […] Further, if the customer sends a PO cancelation request after the PO registration, the PO processing must be stopped and the change request needs to be handled. Let’s make it even more realistic 21 […] Further, if the customer sends a PO cancelation request after the PO registration, the request is first assessed. Based on the progress of the order handling (e.g. if items have already been fetched from external warehouses) a penalty is determined and communicated to the customer. The customer has 48 hours to accept the penalty and go on with the cancelation or to stop the cancelation and continue with the order handling. PO handling

© Marcello La Rosa Signal event To send or receive a signal for synchronization purposes A signal is broadcasted without any specific target. Thus it can be caught multiple times Signals are different than messages which are routed to a specific target Can be attached to the activity’s boundary

© Marcello La Rosa Solution: non-interrupting event + signal event Broadcasts a signal to all catching signal events bearing same label PO handling

© Marcello La Rosa To handle events that may not refer to a particular task/ subprocess within a process Placed into a process or subprocess Is activated when its start event is triggered It may or may not interrupt the parent process or sub-process, depending on the type of its start event: Non-Interrupting: Interrupting: Event subprocess

© Marcello La Rosa Example: event suprocess PO handling Only receptive of events occurring during the execution of the enclosing sub-process

Activity compensation

© Marcello La Rosa Example: activity compensation After a PO has been registered, checked, and a response has been sent back, a payment sub-process and a fulfilment sub- process are started. During these two sub-processes, a PO cancellation may be received from the customer. In this case, both sub-processes are stopped, and their effects are reverted (e.g. reimbursement and/or goods return may need to occur). 27 PO handling

© Marcello La Rosa Rollback of completed process activities May be used as part of an exception handling procedure Triggered by throwing Compensate event Compensation Handler (a catching Compensate event + a Compensate activity) performs the rollback Activity compensation 28

© Marcello La Rosa Solution: activity compensation Only one compensate activity must be linked from a catching compensate event 29 The compensate activity can be a sub-process PO handling

© Marcello La Rosa Must be attached to the activity’s boundary Compensate event 30 Indicates that the enclosing activity must be compensated The “throwing intermediate” and the “end” version generate the compensation event The “intermediate catching” version triggers the compensation when attached to the boundary of an activity

© Marcello La Rosa Recap: Events 31

© Marcello La Rosa Readings for Week 7 Dumas M., La Rosa M., Mendling J., Reijers, H. (2013): Fundamentals of BPM. Chapter

Prof. Marcello La Rosa IS School Academic Director (Corporate Programs and Partnerships) BPM Discipline, IS School Science & Engineering Faculty Queensland University of Technology 2 George Street Brisbane QLD 4000 Australia p +61 (0) e w