Advertisement

Events in Business Process Implementation: Early Subscription and Event Buffering

  • Sankalita MandalEmail author
  • Matthias Weidlich
  • Mathias Weske
Conference paper
Part of the Lecture Notes in Business Information Processing book series (LNBIP, volume 297)

Abstract

Event handling is a fundamental concept for the implementation of business processes. It enables the specification of how a process communicates with its environment and how this environment influences the execution of a process. However, even feature-rich languages for process specification such as BPMN are severely limited in their event handling semantics. They largely neglect the design choices to be made when deciding on when to subscribe to event sources and how to retrieve events for a particular process instance. In this paper, we therefore propose a model for event handling in business processes that is grounded in explicit subscriptions and event buffering. This model is integrated in BPMN using its extension mechanism and comes with formal execution semantics. Based on the latter, we further show how existing techniques for verification and adapter synthesis can be leveraged to analyse the interactions of a business process. Finally, we demonstrate the feasibility of our event handling model by means of an implementation in Camunda, an open-source process engine.

Keywords

Process implementation Event processing Event subscription BPMN 

Notes

Acknowledgements

We are grateful for comments provided by Jan Sürmeli in the course of this work. The work is partially funded by the German Research Foundation (DFG) under grant agreement number WE 4891/1-1.

References

  1. 1.
    van der Aalst, W.M.P., Lohmann, N., Massuthe, P., Stahl, C., Wolf, K.: Multiparty contracts: agreeing and implementing interorganizational processes. Comput. J. 53(1), 90–106 (2010)CrossRefGoogle Scholar
  2. 2.
    van der Aalst, W.M.P., Stahl, C.: Modeling Business Processes - A Petri net-Oriented Approach. Cooperative Information Systems Series. MIT Press, Cambridge (2011)Google Scholar
  3. 3.
    Aguilera, M.K., Strom, R.E., Sturman, D.C., Astley, M., Chandra, T.D.: Matching events in a content-based subscription system. In: PODC, pp. 53–61. ACM (1999)Google Scholar
  4. 4.
    Alves, A., et al.: Web Services Business Process Execution Language Version 2.0. Oasis standard, OASIS (2007)Google Scholar
  5. 5.
    Barros, A., Decker, G., Grosskopf, A.: Complex events in business processes. In: Abramowicz, W. (ed.) BIS 2007. LNCS, vol. 4439, pp. 29–40. Springer, Heidelberg (2007). doi: 10.1007/978-3-540-72035-5_3 CrossRefGoogle Scholar
  6. 6.
    Barros, A., Decker, G., Dumas, M., Weber, F.: Correlation patterns in service-oriented architectures. In: Dwyer, M.B., Lopes, A. (eds.) FASE 2007. LNCS, vol. 4422, pp. 245–259. Springer, Heidelberg (2007). doi: 10.1007/978-3-540-71289-3_20 CrossRefGoogle Scholar
  7. 7.
    Baumgrass, A., Herzberg, N., Meyer, A., Weske, M.: BPMN extension for business process monitoring. In: Enterprise Modelling and Information Systems Architectures (EMISA). LNI, GI (2014)Google Scholar
  8. 8.
    Baumgraß, A., et al.: Towards a methodology for the engineering of event-driven process applications. In: Reichert, M., Reijers, H.A. (eds.) BPM 2015. LNBIP, vol. 256, pp. 501–514. Springer, Cham (2016). doi: 10.1007/978-3-319-42887-1_40 CrossRefGoogle Scholar
  9. 9.
    Beyer, J., Kuhn, P., Hewelt, M., Mandal, S., Weske, M.: Unicorn meets chimera: integrating external events into case management. In: BPM Demo Session. CEUR-WS.org (2016)Google Scholar
  10. 10.
    Bülow, S., et al.: Monitoring of business processes with complex event processing. In: Lohmann, N., Song, M., Wohed, P. (eds.) BPM 2013. LNBIP, vol. 171, pp. 277–290. Springer, Cham (2014). doi: 10.1007/978-3-319-06257-0_22 CrossRefGoogle Scholar
  11. 11.
    Cugola, G., Margara, A.: Processing flows of information: from data stream to complex event processing. ACM Comput. Surv. 44(3), 15:1–15:62 (2012)CrossRefGoogle Scholar
  12. 12.
    Decker, G., Mendling, J.: Process instantiation. Data Knowl. Eng. 68(9), 777–792 (2009)CrossRefGoogle Scholar
  13. 13.
    Dijkman, R.M., Dumas, M., Ouyang, C.: Semantics and analysis of business process models in BPMN. Inf. Softw. Technol. 50(12), 1281–1294 (2008)CrossRefGoogle Scholar
  14. 14.
    Dumas, M., Rosa, M.L., Mendling, J., Reijers, H.A.: Fundamentals of Business Process Management. Springer, Heidelberg (2013). doi: 10.1007/978-3-642-33143-5 CrossRefGoogle Scholar
  15. 15.
    Etzion, O., Niblett, P.: Event Processing in Action. Manning Publications Co., Greenwich (2010)Google Scholar
  16. 16.
    Fahland, D., Gierds, C.: Analyzing and completing middleware designs for enterprise integration using coloured Petri nets. In: Salinesi, C., Norrie, M.C., Pastor, Ó. (eds.) CAiSE 2013. LNCS, vol. 7908, pp. 400–416. Springer, Heidelberg (2013). doi: 10.1007/978-3-642-38709-8_26 CrossRefGoogle Scholar
  17. 17.
    Gierds, C., Mooij, A.J., Wolf, K.: Reducing adapter synthesis to controller synthesis. IEEE Trans. Serv. Comput. 5(1), 72–85 (2012)CrossRefGoogle Scholar
  18. 18.
    Guabtni, A., Motahari-Nezhad, H.R., Benatallah, B.: Using graph aggregation for service interaction message correlation. In: Mouratidis, H., Rolland, C. (eds.) CAiSE 2011. LNCS, vol. 6741, pp. 642–656. Springer, Heidelberg (2011). doi: 10.1007/978-3-642-21640-4_47 CrossRefGoogle Scholar
  19. 19.
    Herzberg, N., Meyer, A., Weske, M.: An event processing platform for business process management. In: EDOC. IEEE (2013)Google Scholar
  20. 20.
    Hinze, A., Buchmann, A.P.: Principles and Applications of Distributed Event-Based Systems. Information Science Reference, Hershey (2010)CrossRefGoogle Scholar
  21. 21.
    Jacobsen, H.A., Muthusamy, V., Li, G.: The PADRES event processing network: uniform querying of past and future events. IT - Inf. Technol. 51(5), 250–260 (2009)Google Scholar
  22. 22.
    Jensen, K., Kristensen, L.M.: Coloured Petri nets - modelling and validation of concurrent systems. Springer, Heidelberg (2009). http://www.springer.com/gp/book/9783642002830
  23. 23.
    Lohmann, N.: A feature-complete Petri net semantics for WS-BPEL 2.0. In: Dumas, M., Heckel, R. (eds.) WS-FM 2007. LNCS, vol. 4937, pp. 77–91. Springer, Heidelberg (2008). doi: 10.1007/978-3-540-79230-7_6 CrossRefGoogle Scholar
  24. 24.
    Lohmann, N., Wolf, K.: Realizability is controllability. In: Laneve, C., Su, J. (eds.) WS-FM 2009. LNCS, vol. 6194, pp. 110–127. Springer, Heidelberg (2010). doi: 10.1007/978-3-642-14458-5_7 CrossRefGoogle Scholar
  25. 25.
    Luckham, D.C.: The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems. Addison-Wesley, Boston (2010)Google Scholar
  26. 26.
    Macià, H., Valero, V., Díaz, G., Boubeta-Puig, J., Ortiz, G.: Complex event processing modeling by prioritized colored Petri nets. IEEE Access 4, 7425–7439 (2016)CrossRefGoogle Scholar
  27. 27.
    Meier, R., Cahill, V.: Steam: event-based middleware for wireless ad hoc networks. In: ICDCS Workshops, pp. 639–644 (2002)Google Scholar
  28. 28.
    OMG: Unified Modeling Language (UML), Version 2.5 (2012)Google Scholar
  29. 29.
    OMG: Business Process Model and Notation (BPMN), Version 2.0, January 2011Google Scholar
  30. 30.
    Pietzuch, P.R., Bacon, J.M.: Hermes: a distributed event-based middleware architecture. In: ICDCS Workshops, pp. 611–618 (2002)Google Scholar
  31. 31.
    Pillat, R.M., Oliveira, T.C., Alencar, P.S.C., Cowan, D.D.: BPMNt: A BPMN extension for specifying software process tailoring. Inf. Softw. Technol. 57, 95–115 (2015)CrossRefGoogle Scholar
  32. 32.
    Reisig, W.: Understanding Petri nets - Modeling Techniques, Analysis Methods, Case Studies. Springer, Heidelberg (2013). doi: 10.1007/978-3-642-33278-4 CrossRefGoogle Scholar
  33. 33.
    Stroppi, L.J.R., Chiotti, O., Villarreal, P.D.: Extending BPMN 2.0: method and tool support. In: Dijkman, R., Hofstetter, J., Koehler, J. (eds.) BPMN 2011. LNBIP, vol. 95, pp. 59–73. Springer, Heidelberg (2011). doi: 10.1007/978-3-642-25160-3_5 CrossRefGoogle Scholar
  34. 34.
    Weske, M.: Business Process Management - Concepts, Languages, Architectures, 2nd edn. Springer, Heidelberg (2012). doi: 10.1007/978-3-642-28616-2 Google Scholar
  35. 35.
    Yousfi, A., Bauer, C., Saidi, R., Dey, A.K.: uBPMN: a BPMN extension for modeling ubiquitous business processes. Inf. Softw. Technol. 74, 55–68 (2016)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Sankalita Mandal
    • 1
    Email author
  • Matthias Weidlich
    • 2
  • Mathias Weske
    • 1
  1. 1.Hasso Plattner Institute at the University of PotsdamPotsdamGermany
  2. 2.Department of Computer ScienceHumboldt-Universität zu BerlinBerlinGermany

Personalised recommendations