The method of structured transformation of a business process activity diagram into a context map of domain-driven design
Abstract
The relevance of the study lies in the need to implement unified methods for the structured formation of context maps, capable of reliably and accurately representing business processes during the design of domain-driven information systems. The aim of the work was to develop and substantiate a systematic method for transforming business process activity diagrams into context maps, which optimises the modelling process and enhances the accuracy of interaction representation within the domain. To achieve this goal, methods of formal analysis of activity diagrams, structured identification of bounded contexts, grouping of interrelated actions, and establishing types of interactions between them were applied. The main results of the study consisted of creating a phased method that allows for the identification of key elements of business processes, their integration into logically consistent contexts, and the definition of inter-contextual relationships without the use of complex notations. The proposed approach enables the extraction of bounded contexts based on the analysis of activity diagrams, the identification of dynamic dependencies between actions of different participants, and the formation of a coherent context map. The effectiveness of the method was demonstrated using the example of the restaurant business, where it clearly identified interactions between customer service processes, the kitchen, inventory management, and payment processing. This contributed to a transparent distribution of responsibilities, improved system complexity management, accelerated design, and enhanced consistency between technical implementation and business requirements. The proposed approach also improved mutual understanding between developers and domain experts, as it provides clear boundaries of responsibility and a more adaptive system architecture. Furthermore, the results confirmed the scalability of the method to other industries, indicating its universality and wide applicability. The practical value of the work lies in the possibility of scaling the method for application in various domains, making it a useful tool for business analysts and software architects when designing complex systems and improving the effectiveness of architectural decision-making
Keywords
information systems; business process analysis; unified modelling language; model transformation; bounded context definition
References
- Albuquerque, F., Torres, A.S., & Berssaneti, F.T. (2020). Lean product development and agile project management in the construction industry. Revista de Gestão, 27(2), 135-151. doi: 10.1108/REGE-01-2019-0021.
- Alfadel, M., Aljasser, K., & Alshayeb, M. (2020). Empirical study of the relationship between design patterns and code smells. PLoS ONE, 15(4), article number e0231731. doi: 10.1371/journal.pone.0231731.
- Ambler, S.W. (2005). UML activity diagrams. In The elements of UML™ 2.0 style (pp. 113-131). Cambridge: Cambridge University Press. doi: 10.1017/CBO9780511817533.011.
- Da Silva, C.E., Gomes, E.L., & Basu, S.S. (2022). BPM2DDD: A systematic process for identifying domains from business processes models. Software, 1(4), 417-449. doi: 10.3390/software1040018.
- Evans, E. (2003). Domain-driven design: Tackling complexity in the heart of software. Boston: Addison-Wesley.
- Farshidi, S., Jansen, S., & van der Werf, J.M. (2020). Capturing software architecture knowledge for pattern-driven design. Journal of Systems and Software, 169, article number 110714. doi: 10.1016/j.jss.2020.110714.
- Gadiyar, S. (2024). Leveraging event storming for enhanced product development in FinTech: A collaborative approach to simplifying complex business processes. Journal of Mathematical & Computer Applications, 3(5), article number E146. doi: 10.47363/JMCA/2024(3)E146.
- Gonzalez-Lopez, F., Bustos, G., Muñoz-Gama, J., & Sepúlveda, M. (2022). Domain model based design of business process architectures. Applied Sciences, 12(5), article number 2563. doi: 10.3390/app12052563.
- Hlybovets, A., & Paprotskyi, I. (2024). Increasing the fault tolerance in microservice architecture. Cybernetics and Systems Analysis, 60(3), 480-488. doi: 10.1007/s10559-024-00689-0.
- Irshad, M., Börstler, J., & Petersen, K. (2022). Supporting refactoring of BDD specifications – an empirical study. Information and Software Technology, 141, article number 106717. doi: 10.1016/j.infsof.2021.106717.
- Kapferer, S., & Zimmermann, O. (2020). Domain-specific language and tools for strategic domain-driven design, context mapping and bounded context modeling. In Proceedings of the 8th international conference on modeling and software development (pp. 299-306). Valetta: SciTePress. doi: 10.5220/0008910502990306.
- Khoshnevis, S. (2023). A search-based identification of variable microservices for enterprise SaaS. Frontiers of Computer Science, 17(3), article number 173208. doi: 10.1007/s11704-022-1390-4.
- Özkan, O., Babur, Ö., & van den Brand, M. (2023). Refactoring with domain-driven design in an industrial context. Empirical Software Engineering, 28, article number 94. doi: 10.1007/s10664-023-10310-1.
- Ozkaya, M., & Erata, F. (2020). A survey on the practical use of UML for different software architecture viewpoints. Information and Software Technology, 121, article number 106275. doi: 10.1016/j.infsof.2020.106275.
- Sangabriel-Alarcón, J., Ocharán-Hernández, J.O., Limón, X., & Cortés-Verdín, M.K. (2024). Domain-driven design in microservices-based systems development: A systematic literature review and thematic analysis. Programming and Computer Software, 50(8), 742-770. doi: 10.1134/S0361768824700749.
- Valdivia, J.A., Lora-González, A., Limón, X., Cortés-Verdin, M.K., & Ocharán-Hernández, J.O. (2020). Patterns related to microservice architecture: A multivocal literature review. Programming and Computer Software, 46(8), 594-608. doi:10.1134/S0361768820080253.
- Vernon, V. (2013). Implementing domain-driven design. Boston: Addison-Wesley Professional.
- Vural, H., & Koyuncu, M. (2021). Does domain-driven design lead to finding the optimal modularity of a microservice? IEEE Access, 9, 32721-32733. doi: 10.1109/ACCESS.2021.3060895.
- Waseem, M., Liang, P., Shahin, M., Di Salle, A., & Márquez, G. (2021). Design, monitoring, and testing of microservices systems: The practitioners’ perspective. Journal of Systems and Software, 182, article number 111061. doi: 10.1016/j.jss.2021.111061.
- Zhong, C., Li, S., Huang, H., Liu, X., Chen, Z., Zhang, Y., & Zhang, H. (2024). Domain-driven design for microservices: An evidence-based investigation. IEEE Transactions on Software Engineering, 50(6), 1425-1449. doi: 10.1109/ TSE.2024.3385835.