Weaving Aspects and Business Processes through Model Transformation

  • Heiko Witteborg
  • Anis Charfi
  • Daniel Colomer Collell
  • Mira Mezini
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8745)


Concerns such as logging, auditing and accounting need to be addressed already in the business process modeling phase and not only in the process implementation phase. Mostly, such concerns are modeled as part of the normal flow in business process models. However, the crosscutting nature of such concerns leads to complex, scattered, and tangled models that are hard to understand and to manage. The lack of appropriate means to modularize crosscutting concerns in business process modeling languages seriously affects understandability, maintainability and reusability. In a previous work we proposed AO4BPMN 1.0 as an aspect-oriented extension of BPMN that allows the modularization of crosscutting concerns. However, there were several open issues in that proposal. First, it lacks a concrete weaving mechanism for composing business processes and aspects. Second, it lacks a well-defined pointcut language to select join points. Third, it does not support BPMN 2.0, which was still under development at that time. In this paper we tackle these issues and present a weaver for AO4BPMN based on model transformation as well as an OCL-based pointcut language.


aspects business process modeling weaving model transformation 


  1. 1.
    Braem, M., Gheysels, D.: History-Based Aspect Weaving for WS-BPEL Using Padus. In: Proc. of the 5th European Conference on Web Services (ECOWS), pp. 159–167 (November 2007)Google Scholar
  2. 2.
    Brichau, J., et al.: Report describing survey of aspect languages and models, AOSD-Europe Deliverable D12Google Scholar
  3. 3.
    Charfi, A.: Aspect-Oriented Workflow Management. VDM Verlag Dr. Müller (2008)Google Scholar
  4. 4.
    Charfi, A., Mezini, M.: AO4BPEL: An aspect-oriented extension to BPEL. World Wide Web Journal: Special Issue: Recent Advances in Web Services 10(3) (March 2007)Google Scholar
  5. 5.
    Charfi, A., Müller, H., Mezini, M.: Aspect-oriented business process modeling with AO4BPMN. In: Kühne, T., Selic, B., Gervais, M.-P., Terrier, F. (eds.) ECMFA 2010. LNCS, vol. 6138, pp. 48–61. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  6. 6.
    Cui, Z., Wang, L., Li, X., Xu, D.: Modeling and Integrating Aspects with UML Activity Diagrams. In: Proc. of the ACM Symposium on Applied Computing, SAC 2009, pp. 430–437. ACM, New York (2009)Google Scholar
  7. 7.
    Jalali, A., Wohed, P., Ouyang, C.: Aspect oriented business process modelling with precedence. In: Mendling, J., Weidlich, M. (eds.) BPMN 2012. LNBIP, vol. 125, pp. 23–37. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  8. 8.
    Jalali, A., Wohed, P., Ouyang, C., Johannesson, P.: Dynamic weaving in aspect oriented business process management. In: Meersman, R., Panetto, H., Dillon, T., Eder, J., Bellahsene, Z., Ritter, N., De Leenheer, P., Dou, D. (eds.) ODBASE 2013. LNCS, vol. 8185, pp. 2–20. Springer, Heidelberg (2013)CrossRefGoogle Scholar
  9. 9.
    Look, A.: Ao4bpel 2 server (2011),
  10. 10.
    Mosconi, M., Charfi, A., Svacina, J., Wloka, J.: Applying and Evaluating AOM for Platform Independent Behavioral UML Models. In: Proc. of the 12th International Workshop on Aspect-Oriented Modeling, AOM 2008, pp. 19–24. ACM, New York (2008)CrossRefGoogle Scholar
  11. 11.
    OASIS: Web Services Business Process Execution Language Version 2.0.,
  12. 12.
    OMG: Object constraint language (ocl) version 2.3 (2012),
  13. 13.
    Object Management Group (OMG): Business Process Model and Notation (BPMN) Version 2.0.,
  14. 14.
    Wimmer, M., Schauerhuber, A., Kappel, G., Retschitzegger, W., Schwinger, W., Kapsammer, E.: A Survey on UML-based Aspect-oriented Design Modeling. ACM Comput. Surv. 43(4), 28:1–28:33 (2011),
  15. 15.
    Witteborg, H., Charfi, A., Aly, M., Holmes, T.: Business Process Extensions as First-Class Entities — A Model-Driven and Aspect-Oriented Approach. In: Liu, C., Ludwig, H., Toumani, F., Yu, Q. (eds.) ICSOC 2012. LNCS, vol. 7636, pp. 763–770. Springer, Heidelberg (2012)Google Scholar
  16. 16.
    Zhang, G., Hölzl, M., Knapp, A.: Enhancing UML State Machines with Aspects. In: Engels, G., Opdyke, B., Schmidt, D.C., Weil, F. (eds.) MODELS 2007. LNCS, vol. 4735, pp. 529–543. Springer, Heidelberg (2007)CrossRefGoogle Scholar

Copyright information

© International Federation for Information Processing 2014

Authors and Affiliations

  • Heiko Witteborg
    • 1
  • Anis Charfi
    • 1
  • Daniel Colomer Collell
    • 2
  • Mira Mezini
    • 2
  1. 1.SAP AGDarmstadtGermany
  2. 2.Software Technology GroupTU DarmstadtDarmstadtGermany

Personalised recommendations