NONDETERMINISTIC EVENTS IN
BUSINESS PROCESSES

Albert Fleischmann, Metasonic AG
Werner Schmidt, University of Applied Sciences Ingolstadt
Christian Stary, University of Linz
Florian Strecker, Metasonic AG
Objective and Agenda


In this presentation we want to show how business processes
can be described based on various types of events using the
S-BPM (subject-oriented business process management)
approach.

• Events, event producer and event consumer:
  Subjects and messages
• Nondeterministic events/messages
• Integration of CEP engines into subjects
• Subjects and agents
• Summary
20-09-03           Nondeterministic Events in Business Processes   2
Events, Event Producer and
Event Consumer




    Subjects:   - represent abstract actors in a process (technical or human)
                - produce and consume events (send and receive messages)
    Events:     - produced and consumed by subjects
                - asynchronous or synchronous message exchange (input pool)
    Process:    structures the actions of each subject and coordinates the
                required communication among the subjects.
2012-09-03                 Nondeterministic Events in Business Processes   3
Nondeterministic Subject Behaviour
Change Order
             Customer                                                   Order handling




2012-09-03              Nondeterministic Events in Business Processes              4
Customer changes Order




The customer changes his order at an arbitrary point in time:
• change request arrives during handling the order:  allowed, accepted
• change request arrives after delivery has started  not allowed, rejected
2012-09-03              Nondeterministic Events in Business Processes   5
Nondeterministic Subject Behaviour
Change Order
                          Customer

              Main path             Nondeterministic
                                    event guard




                               behaviour




2012-09-03      Nondeterministic Events in Business Processes   6
Nondeterministic Subject Behaviour
Change Order
              Order Handler


             Main path




                     behaviour




2012-09-03                           7
Nondeterministic Subject Behaviour
Change Order and Complex Events




  • The customer starts a subject which observes prices
    for the ordered product
  • Depending on the retrieved price the customer changes
    the order

2012-09-03         Nondeterministic Events in Business Processes   8
Behaviour of Price Observer

                             Price Observer
         Main path




                                                            CEP Engine


  2012-09-03         Nondeterministic Events in Business Processes       9
Behaviour of Customer

                     Customer




             behaviour




2012-09-03     Nondeterministic Events in Business Processes   10
Subjects and Agents


• Subjects as abstract actors are mapped on agents
• Agents execute the specified behaviour of the subjects
• Agents can handle several subjects in different processes
• Agents can be humans, software, hardware etc.
• Subjects can be assigned to different agents
• Agents build the execution environment of a business
  process
• During process execution agents can be controlled and
  supported by workflow software


2012-09-03         Nondeterministic Events in Business Processes   11
Agents assigned to Subjects




2012-09-03     Nondeterministic Events in Business Processes   12
Process Model and Process
Instances

                                                             Process model: Order
             Human



                                                                         Create
                                                                        instance
              Time



               Data
                                            Order of A
                                             Order of B
                                               Order of C
                                                 Order of D
             Process                               Order of E
             Instance

2012-09-03              Nondeterministic Events in Business Processes               13
Summary


• S-BPM is a method to describe business processes in an
  event-driven way
• Subjects represent active entities in a business process
  independent from certain agents
• The handling of deterministic and nondeterministic
  events can be described transparently
• A CEP engine can be integrated in a straightforward way
  by encapsulating it in a subject
• Subjects and agents are not the same
• Events cause the creation of process instances and
  influence the execution of running instances
2012-09-03         Nondeterministic Events in Business Processes   14
Questions and Answers



             Thank you for your attention




2012-09-03       Nondeterministic Events in Business Processes   15

Presentation: Nondeterministic events in business processes

  • 1.
    NONDETERMINISTIC EVENTS IN BUSINESSPROCESSES Albert Fleischmann, Metasonic AG Werner Schmidt, University of Applied Sciences Ingolstadt Christian Stary, University of Linz Florian Strecker, Metasonic AG
  • 2.
    Objective and Agenda Inthis presentation we want to show how business processes can be described based on various types of events using the S-BPM (subject-oriented business process management) approach. • Events, event producer and event consumer: Subjects and messages • Nondeterministic events/messages • Integration of CEP engines into subjects • Subjects and agents • Summary 20-09-03 Nondeterministic Events in Business Processes 2
  • 3.
    Events, Event Producerand Event Consumer Subjects: - represent abstract actors in a process (technical or human) - produce and consume events (send and receive messages) Events: - produced and consumed by subjects - asynchronous or synchronous message exchange (input pool) Process: structures the actions of each subject and coordinates the required communication among the subjects. 2012-09-03 Nondeterministic Events in Business Processes 3
  • 4.
    Nondeterministic Subject Behaviour ChangeOrder Customer Order handling 2012-09-03 Nondeterministic Events in Business Processes 4
  • 5.
    Customer changes Order Thecustomer changes his order at an arbitrary point in time: • change request arrives during handling the order:  allowed, accepted • change request arrives after delivery has started  not allowed, rejected 2012-09-03 Nondeterministic Events in Business Processes 5
  • 6.
    Nondeterministic Subject Behaviour ChangeOrder Customer Main path Nondeterministic event guard behaviour 2012-09-03 Nondeterministic Events in Business Processes 6
  • 7.
    Nondeterministic Subject Behaviour ChangeOrder Order Handler Main path behaviour 2012-09-03 7
  • 8.
    Nondeterministic Subject Behaviour ChangeOrder and Complex Events • The customer starts a subject which observes prices for the ordered product • Depending on the retrieved price the customer changes the order 2012-09-03 Nondeterministic Events in Business Processes 8
  • 9.
    Behaviour of PriceObserver Price Observer Main path CEP Engine 2012-09-03 Nondeterministic Events in Business Processes 9
  • 10.
    Behaviour of Customer Customer behaviour 2012-09-03 Nondeterministic Events in Business Processes 10
  • 11.
    Subjects and Agents •Subjects as abstract actors are mapped on agents • Agents execute the specified behaviour of the subjects • Agents can handle several subjects in different processes • Agents can be humans, software, hardware etc. • Subjects can be assigned to different agents • Agents build the execution environment of a business process • During process execution agents can be controlled and supported by workflow software 2012-09-03 Nondeterministic Events in Business Processes 11
  • 12.
    Agents assigned toSubjects 2012-09-03 Nondeterministic Events in Business Processes 12
  • 13.
    Process Model andProcess Instances Process model: Order Human Create instance Time Data Order of A Order of B Order of C Order of D Process Order of E Instance 2012-09-03 Nondeterministic Events in Business Processes 13
  • 14.
    Summary • S-BPM isa method to describe business processes in an event-driven way • Subjects represent active entities in a business process independent from certain agents • The handling of deterministic and nondeterministic events can be described transparently • A CEP engine can be integrated in a straightforward way by encapsulating it in a subject • Subjects and agents are not the same • Events cause the creation of process instances and influence the execution of running instances 2012-09-03 Nondeterministic Events in Business Processes 14
  • 15.
    Questions and Answers Thank you for your attention 2012-09-03 Nondeterministic Events in Business Processes 15