1. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Integration of BPMN and CMMN
Knut Hinkelmann
Based on joint work with Arianna Pierfranceschi
FHNW University of Applied Sciences and Arts Northwestern Switzerland
knut.hinkelmann@fhnw.ch | arianna.pierfranceschi@fhnw.ch
Acknowledgements: This work is supported by the EU-funded project LearnPAd, FP7-619583, http://www.learnpad.eu
Business Modeling & Integration, Berlin, 12 June 2015 1
2. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann Business Modeling & Integration, Berlin, 12 June 2015 2
BPM ACM?
3. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Classification of Processes
partly translated from (Gadatsch 2005, S. 44)
structured
process
case ad hoc process
• structured process
flow
• many repetitive
elements
• no degrees of
freedom for people
• process flow can
partly be structured
• some repetitive
elements
• degrees of freedom
for people
• process flow cannot be
structured – new tasks
on the fly
• few repetitive elements
• very high degrees of
freedom for people
can be modelled cannot be
modelled
Business Modeling & Integration, Berlin, 12 June 2015 3
4. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Classification of Processes
partly translated from (Gadatsch 2005, S. 44)
structured
process
case ad hoc process
• structured process
flow
• many repetitive
elements
• no degrees of
freedom for people
• process flow can
partly be structured
• some repetitive
elements
• degrees of freedom
for people
• process flow cannot be
structured – new tasks
on the fly
• few repetitive elements
• very high degrees of
freedom for people
can be modelled cannot be
modelled
BPMN CMMN
Business Modeling & Integration, Berlin, 12 June 2015 4
5. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Issues
■ Can we strictly separate case from process?
■ Can we decide in advance which model type
is appropriate?
■ Is there no process flow in ACM?
Business Modeling & Integration, Berlin, 12 June 2015 5
6. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Case Study: Admission to Master Program
Business Modeling & Integration, Berlin, 12 June 2015 6
7. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Separate BPMN from CMMN
Business Modeling & Integration, Berlin, 12 June 2015 7
8. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Implicit Control Flow in CMMN
What does it mean?
Business Modeling & Integration, Berlin, 12 June 2015 8
Visible conditions are better for understanding
9. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Explicit Control Flow
in BPMN
What does it mean?
Business Modeling & Integration, Berlin, 12 June 2015 9
10. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Who executes a Tasks?
Business Modeling & Integration, Berlin, 12 June 2015 10
Implicit in roles Visualized
11. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Comparing Elements of BPMN and CMMN
BPMN CMMN
Task types: User, Manual Script, … Task types: Human
Subprocesses Process/Case Tasks
Events: start – intermediate – end
catching – throwing
event listeners (catching)
implicit events, milestones
Gateways/Events Sentries
Sequence Flow Sentry with empty condition
-- Discretionary Tasks
-- Stages
Lanes Roles
Pool Folder
Business Modeling & Integration, Berlin, 12 June 2015 11
12. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Rules in BPMN and CMMN
BPMN CMMN
Business rules (tasks) ---
Events/gateways Sentries
---
Applicability rules
(planning tables)
Business Modeling & Integration, Berlin, 12 June 2015 12
13. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
A combination of
control flow elements of BPMN
and discretionary tasks
and planning elements of CMMN
a suitable language
to deal with any kind of process.
Combining BPMN and CMMN
Business Modeling & Integration, Berlin, 12 June 2015 13
14. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
BPCMN: A combined Process and Case Modeling
Language
Silver (2010): BPMN covers about
90% of what is needed for
business processes.
Start with BPMN and add the
necessary case aspects.
Business Modeling & Integration, Berlin, 12 June 2015 14
15. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
BPCMN: An Example
Business Modeling & Integration, Berlin, 12 June 2015 15
16. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Proposal for a combined Process and Case
Modeling Language
■ Activities can be
♦ integrated in sequence flow ( BPM)
♦ initiated by Sentry ( ACM)
■ Gateways for explicit control flow
■ Lanes for assignment of tasks to participants
■ Allow discretionary tasks
Business Modeling & Integration, Berlin, 12 June 2015 16
17. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
BPMN CMMN
Task types: User, Manual Script, … Task types: Human
Subprocesses Process/Case Tasks
Events: start – intermediate – end
catching – throwing
event listeners (catching)
implicit events, milestones
Gateways/Events Sentries
Sequence Flow Sentry with empty condition
-- Discretionary Tasks
-- Stages
Lanes Roles
Pool Folder
Comparing Elements of BPMN and CMMN
Business Modeling & Integration, Berlin, 12 June 2015 17
18. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Rules in BPMN and CMMN
BPMN CMMN
Business rules (tasks) ---
Events/gateways ECA rules Sentries
---
Applicability rules
(planning tables)
Business Modeling & Integration, Berlin, 12 June 2015 18
19. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
BPCMN covers structured and case processes
partly translated from (Gadatsch 2005, S. 44)
structured
process
case ad hoc process
• structured process
flow
• many repetitive
elements
• no degrees of
freedom for people
• process flow can
partly be structured
• some repetitive
elements
• degrees of freedom
for people
• process flow cannot be
structured – new tasks
on the fly
• few repetitive elements
• very high degrees of
freedom for people
can be modelled cannot be
modelled
Business Modeling & Integration, Berlin, 12 June 2015 19
20. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Extension: Modeling Business Logic
knowledge in processes:
• supports practice
• skills, experiences
• know how
business logic
knowledge about processes:
• process flow
• roles
• resources
process logic
expertise regulations,
laws
product
development
decision
making lessons
learned
$ §
Business Modeling & Integration, Berlin, 12 June 2015 20
21. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Using DMN to model Decision Logic
Business Modeling & Integration, Berlin, 12 June 2015 21
22. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
DMN – Eligibility Check
Business Modeling & Integration, Berlin, 12 June 2015 22
23. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Using DMN to model Decision Logic
Business Modeling & Integration, Berlin, 12 June 2015 23
24. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann
Conclusion
Modeling knowledge processes includes
♦ Model Process Flow BPM
♦ Model Cases ACM
♦ Modeling business logic Decisions
in an integrated environment
The modeling language was developed in adoxx.org
Business Modeling & Integration, Berlin, 12 June 2015 24
25. Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann Business Modeling & Integration, Berlin, 12 June 2015 25