Complexity metrics for the Case Management Modeling Notation (CMMN) Project Description Mike A. Marin University of South Africa IBM Software Group 25131 Mackenzie Street Laguna Hills, CA 92653, USA
[email protected] ABSTRACT Business process management (BPM) is a relative mature discipline with a large number of practitioners. BPM technology is based on directed graphs used to describe control flow. Over the last decade a new way to describe data intensive business processes for knowledge workers have emerged, where the focus is changing from control flow to business data. This emerging process technology is referred in the literature as case handling or case management. The Case management modeling and notation (CMMN) is a new process standard that supports case handling. Complexity metrics have been developed and verified for BPM models based on directed graphs, like the business processes modeling and notation (BPMN). But, CMMN processes are not described by directed graphs. Therefore, complexity metrics developed for BPMN may not be applicable to CMMN. This research plans to fill the gap in the literature by exploring and proposing complexity metrics for CMMN. This will have practical implications for commercial products implementing CMMN.
Categories and Subject Descriptors D.2.2 [Design Tools and Techniques]; D.2.3 [Coding Tools and Techniques]: Standards; D.10 [Design]: Representation
General Terms Measurement, Design, Human Factors, Standardization, Theory
Keywords Adaptive case management, Case management, Case handling, CMMN, BPMN, Modeling complexity, Complexity
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. SAICSIT ’14, September 28 to October 1, Leriba Lodge, Centurion, Gauteng, South Africa Copyright 20XX ACM X-XXXXX-XX-X/XX/XX ...$15.00.
metrics, Process modeling complexity
1.
INTRODUCTION
This study will explore complexity metrics for the Case Management Modeling Notation (CMMN) [14], which is an emerging business processes standard. As far as the researcher is aware, this study will be among the first contributions to the understanding of complexity metrics for the CMMN standard. The purpose of the research is to develop and validate complexity metrics for CMMN. The study will be theoretical and experimental in design and it will be conducted in two phases. The first phase will identify a set of complexity metrics and theoretically validate them. The second phase will empirically validate the proposed complexity metrics.
2.
BACKGROUND
An organization uses process modeling to describe the business processes to be automated by organizing the activities that need to be performed to achieve a business goal in the correct sequence. A business process model is described in a visual manner and represents the way that business representatives conduct the operation of a business [1]. Process models for the emerging case management applications created with CMMN and using a declarative approach are more flexible than current BPM prescriptive models. Therefore, the current research on complexity metrics for BPM may not apply to CMMN, and so, there is a need to understand the applicability of BPM research regarding complexity metrics to case management process models and to create and empirically validate specific complexity metrics for case management process models.
2.1
Business Process Management
BPM technology describes and automates business processes. Those processes consist of an organized set of business activities required to achieve a business goal. A business process model is described in a visual manner and represents the way that business representatives conduct the operation of a business [1]. Figure 1 shows an example of a simple insurance claim process described in BPMN [13] by Korherr [7]. Understanding the business models is important for communication between users, and it facilitates the communication and transfer of knowledge throughout the organization
Table 1: Summary of differences between BPMN and CMMN BPMN CMMN Procedural Declarative Process centric Data centric Arcs describe the sequence No predefined sequence Guided work Enables workers (head down workers) (knowledge workers) Everything is modeled Not everything is modeled
[17]. Complexity metrics can be used to describe the difficulty involved for a human to understand a business process [5].
2.2
Case Management
Case management [18] was first introduced by Van Der Aalst and Berens in 2001 [20] and by Reijers et al. [15] in 2003 to support the flexibility required by knowledge workers during a busines process and to help them better process exceptions that may occur during that process. Unlike workflow, BPM and most other process methods that focus on what should be done in a process, case management focuses on what can be done to achieve the business goal of the process [21]. In 2009, the Object Management Group (OMG) issued a request for proposal (RFP) for the creation of a standard modeling notation for use with case management [12] and to serve as a complement to its BPMN specification. The resulting specification, CMMN [14] is based on business artifacts [9]. Documents, like spreadsheet, word processor documents, pictures, voice recordings, etc. are considered business artifacts. Kumaran et al. [8] arrived to the concept of adaptive documents as domain artifacts, which provided a document centric view of processes using business artifacts. Business artifacts have been found useful to model real-world business processes, including case management [19]. CMMN is a new way to describe business processes, based on business artifacts, using a data-centric perspective [11]. There are important differences between BPMN and CMMN as described in Table 1. Figure 2 shows the simple insurance claim process modeled using CMMN.
2.3
Figure 1: Example of a simple insurance claim process using BPMN [7]
Complexity metrics
Extensive research has been conducted on the complexity of traditional BPM models. For example, Gruhn and Laue [5] adapted several software engineering complexity metrics to business processes models. However, today as far as the author is aware, there is no research on the complexity of case management processes models. Complexity metrics are based on the graphical notation of the models, and as shown in Figure 2, case management is missing the connectors (arrowed lines), gateways (diamonds), and events (circles) that describe the execution sequence of the BPMN model (see Figure 1). BPMN and CMMN models are different (see Table 1), therefore, most of the research on complexity metrics may not be applicable to CMMN. For example, Cardoso [4] activity complexity (AC) counts the nodes in the process graph. Assuming all the elements in a CMMN model are nodes, then AC can be calculated for both BPMN and CMMN. However, Cardoso [4] controlflow complexity (CF C) is not applicable to CMMN, because
metrics in terms of the perceived complexity of the subjects. A within-subjects experimental design will be used to perform the empirical validation. The independent variable will be the treatment to which the subjects will be exposed. The treatment will consist of a set of ten CMMN models with different calculated complexity. All the subjects will be exposed to all the treatments, however, the instruments will be ordered differently for each subject. The design of the experiment may follow the design used by Canfora et al. [3, p 118-120].
3.1
Research questions
The following research questions are identified for both phases of this proposal. Q1 Are there applicable complexity metrics for CMMN [14]? Q2 What is the relationship between the calculated complexity of the CMMN process model, as measured by the complexity metrics created for this study, and the ‘subjective evaluation’ of the complexity as measured by an instrument based on the work of Rol´ on et al. [16, p 59] and developed for this study?
Figure 2: Example of a simple insurance claim process using CMMN Table 2: Two Cardoso complexity metrics Simple insurance claim process AC CF C BPMN version (Figure 1) 14 5 CMMN version (Figure 2) 8 Not applicable
there are no concepts of AND, OR, or XOR nodes in CMMN. Table 2, shows AC and CF C calculated for the simple insurance claim process in Figures 1 and 2.
3.
METHODOLOGY
The study will be limited to the identification and validation of a set of complexity metrics for CMMN. The identified complexity metrics will be theoretically and empirically validated, following the suggestions of Misra et al. [10, p 323] and Briand et al. [2, p 3]. Phase one will identify and theoretically validate potential complexity metrics for CMMN models. It will start with a literature review of BPM complexity metrics to identify potential metrics that can be adapted to be used with CMMN. The literature review will be followed by designing new complexity metrics based on the characteristics of the CMMN models. For each identified metric a theoretical validation will be conducted to guarantee the metrics have good mathematical properties as described by Misra et al. [10, p 323] and Briand et al. [2, p 3]. The identified metrics that pass the theoretical validation will be referred to as the calculated complexity metrics in phase two. Phase two will empirically validate the identified calculated complexity metrics. An experiment will be conducted to examine differences between the calculated complexity
Q3 What is the relationship between the calculated complexity of the CMMN process models, as measured by the complexity metrics created for this study, and user model comprehension, as measured by an instrument based on the work of Hadar et al. [6, p 2326] and developed for this study? Q4 What is the relationship between the perceived complexity of the CMMN process models, as measured by ‘subjective evaluation’ Rol´ on et al. [16, p 59], and user model comprehension, as measured by an instrument based on the work of Hadar et al. [6, p 2326] and developed for this study?
4.
CONTRIBUTION
This study explores complexity metrics for CMMN models, and will contribute to new knowledge by providing an understanding of complexity metrics for case management. In addition, this study will contribute to the literature with identification and validation of complexity metrics for case management models. Furthermore, this study will have practical implications for case management products and practitioners.
5.
REFERENCES
[1] W. Bandara and M. Rosemann. What Are the Secrets of Successful Process Modelling? Insights From an Australian Case Study. Journal of Strategic Information Systems, 10(3):47–68, 2005. [2] L. C. Briand, K. E. Emam, and S. Morasca. Theoretical and empirical validation of software product measures. Technical report, International Software Engineering Research Network, 1995. [3] G. Canfora, F. Garc´ıa, M. Piattini, F. Ruiz, and C. A. Visaggio. A family of experiments to validate metrics for software process models. The Journal of systems and software, 77(2):113–129, 2005. [4] J. Cardoso. Control-flow Complexity Measurement of ˇ Properties. Enformatika In Processes and WeyukerSs
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12] [13]
[14]
[15]
[16]
[17]
[18]
[19]
Transactions on Engineering, Computing, and Technology, 8:213–218, 2005. V. Gruhn and R. Laue. Complexity Metrics for Business Process Models. In W. Abramowicz and H. C. Mayer, editors, 9th international conference on business information systems, pages 1–12, Klagenfurt, Austria, 2006. I. Hadar, T. Kuflik, A. Perini, I. Reinhartz-Berger, F. Ricca, and A. Susi. An Empirical Study of Requirements Model Understanding: Use Case vs. Tropos Models. In Proceedings of the 2010 ACM Symposium on Applied Computing, SAC ’10, pages 2324–2329, Sierre, Switzerland, 2010. ACM. B. Korherr. Business Process Modelling - Languages, Goals, and Variabilities. Phd, Vienna University of Technology, 2008. S. Kumaran, P. Nandi, T. Heath, K. Bhaskaran, and R. Das. Adoc-oriented programming. In Applications and the Internet, 2003. Proceedings. 2003 Symposium on, pages 334–341, Jan 2003. M. Marin, R. Hull, and R. Vacul´ın. Data Centric BPM and the Emerging Case Management Standard: A Short Survey. In M. Rosa and P. Soffer, editors, Business Process Management Workshops, volume 132 of Lecture Notes in Business Information Processing, pages 24–30. Springer Berlin Heidelberg, 2013. S. Misra, I. Akman, and R. Colomo-Palacios. Framework for evaluation and validation of software complexity measures. Software, IET, 6(4):323–334, Aug. 2012. A. Nigam and N. S. Caswell. Business artifacts: An approach to operational specification. IBM Systems Journal, 42(3):428–445, 2003. OMG. Case Management Process Modeling (CMPM) Request for Proposal, 2009. Document bmi/09-09-23. OMG. Business Process Model and Notation (BPMN), version 2.0.2, December 2013. Document formal/2013-12-09. OMG. Case Management Model and Notation (CMMN), version 1.0, May 2014. Document formal/2014-05-05. H. A. Reijers, J. Rigter, and W. M. P. Van Der Aalst. The Case Handling Case. International Journal of Cooperative Information Systems, 12(3):365–391, 2003. E. A. Rol´ on, F. Garc´ıa, F. Ruiz, M. Piattini, C. A. Visaggio, and C. Gerardo. Evaluation of BPMN Models Quality: a Family of Experiments. In 3rd International Conference on Evaluation of Novel Approaches to Software Engineering, pages 56–63, Funchal, Portugal, 2008. B. R. Swan. The Effects of Business Process Management Cognitive Resources and Individual Cognitive Differences on Outcomes of User Comprehension. Phd, Virginia Polytechnic Institute and State University, 2007. K. Swenson. Mastering the Unpredictable: How Adaptive Case Management Will Revolutionize the Way That Knowledge Workers Get Things Done. Landmark books. Meghan-Kiffer Press, 2010. R. Vaculin, R. Hull, T. Heath, C. Cochran, A. Nigam, and P. Sukaviriya. Declarative business artifact centric modeling of decision and knowledge intensive business
processes. In Enterprise Distributed Object Computing Conference (EDOC), 2011 15th IEEE International, pages 151–160, Aug 2011. [20] W. M. P. Van Der Aalst and P. J. S. Berens. Beyond Workflow Management: Product-Driven Case Handling. In Proceedings of the 2001 International ACM SIGGROUP, pages 42–51, New York, 2001. ACM Press. [21] W. M. P. Van Der Aalst, M. Weske, and D. Grunbauer. Case Handling: A New Paradigm for Business Process Support. Data and Knowledge Engineering, 53(2):129–162, 2005.
APPENDIX A.
CONTROL-FLOW COMPLEXITY
Cardoso [2] control-flow complexity is defined as CF C(p) =
X
CF CXOR-split (i) i∈ XOR-splits of p X + CF COR-split (j) j∈ OR-splits of p X + CF CAND-split (k) k∈ AND-splits of p
Where, CF CXOR-split (XOR activity) = n CF COR-split (OR activity) = 2n − 1 CF CAND-split (AND activity) = 1 n is the fan-out of the split, which corresponds to the number of outgoing arcs. The calculation of CF C for Figure 1 takes into account that there are two CF CXOR-split (diamonds with an X inside and outgoing arcs) each with a fan-out of 2, and one CF CAND-split . Therefore, P CF C XOR-split (i) = 2 + 2 = 4 i∈ XOR-splits of p P CF C OR-split (j) = 0 j∈ OR-splits of p P CF C AND-split (k) = 1 k∈ AND-splits of p ⇒ CF C(p) = 4 + 0 + 1 = 5