Business Process Management Concepts – Models – Events Mathias Weske Hasso Plattner Institute, University of Potsdam
Business Process • A business process consists of a set of activities that are performed in coordination in an organizational and technical environment. • These activities jointly realize a business goal. A business process model is an abstract representation of a business process, serving a modeling goal. Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 2
Business Process Lifecycle • Organizes phases of business processes Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 3
The Definition in Detail • “A business process consists of a set of activities …” • “… that are performed in coordination” Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 4
Processes, Activity Instances, … • Process instances contain activity instances • Each activity instance traverses a series of states - State transitions correspond to events Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 5
… and Events • A process constrains the occurrence of events - Lifecycle events and process events - Job of a process engine • Events are happenings in the real world that - have a business meaning - do not take time - are atomic Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 6
Process Enactment Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 7
Catching and Throwing Events • Catching events - The event happens in the environment and its occurrence has an effect on a process instance • Throwing events - The event is created by a process instance Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 8
Intermediate Events • Come in both flavors • Catching - The process waits for the occurrence of the event - Example: Expiration of a timer • Throwing - The process emits the event and continues with the outgoing sequence flow - Example: Sending of a message Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 9
Boundary Events • Are on the boundary of activities - Are always catching - The occurrence of a boundary event is only relevant, if it occurs while the activity is running Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 10
Racing Events • Race condition between boundary event and sub-process termination Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 11
Event-based Gateway • Gateway selects from a number of racing events the one that occurs first - Decision is taken by the process environment, not by the process Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 12
Events in Process Management • Easy if process engine in place - No process engines in logistics, health care, mobility, energy • GET Service EU project - Transportation processes in multi modal processes - Use CEP systems to detect process events Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 13
Relating Events to the Process Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 14
BPT Architecture: Subsystems … R Client Cl Web SOAP/ Unicorn Chimera REST Browser SOAP / HTTP REST ACTIVE MQ / REST Sensor Gateway REST USB / Wifi R Client XDK- Model Cl Web Gryphon Sensor Repository Browser HTTP Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 15
… and how they interact (2) Register Event Types and Event Queries (4) Forward Events R Client Cl Web SOAP/ Unicorn Chimera REST Browser SOAP / HTTP REST ACTIVE MQ / REST (6) React to Events Sensor (5) Notification Gateway (1) Publish Process Model (3) Send Events REST USB / Wifi (raw event) R Client XDK- Model Cl Web Gryphon Sensor Repository Browser HTTP 16 Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 16
Recap • Events are essential in business processes - Process events and lifecycle events • Processes constrain the order in which events can occur - Processes are mainly about atomic events - Process engines are event processing systems • Process enactment with CEP - CEP engine detects process relevant events - Support for non-automated processes • Question I like to discuss - Are CEP engines the better process engines? - Roles of CEP in BPM, beyond monitoring? Mathias Weske – BPM Intro. Schloss Dagstuhl, August 2016 1 - 17
Recommend
More recommend