integration of bpmn and cmmn

25
Prof. Dr. Knut Hinkelmann Prof. 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 [email protected] | [email protected] wledgements: This work is supported by the EU-funded project LearnPAd, FP7-619583, http://www. Business Modeling & Integration, Berlin, 12 June 2015 1

Upload: projectlearnpad

Post on 14-Aug-2015

148 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Integration of BPMN and CMMN

Knut Hinkelmann

Based on joint work with Arianna PierfranceschiFHNW University of Applied Sciences and Arts Northwestern [email protected] | [email protected]

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

Page 2: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann Business Modeling & Integration, Berlin, 12 June 2015 2

BPM ACM?

Page 3: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Classification of Processes

partly translated from (Gadatsch 2005, S. 44)

structuredprocess

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 bemodelled

Business Modeling & Integration, Berlin, 12 June 2015 3

Page 4: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Classification of Processes

partly translated from (Gadatsch 2005, S. 44)

structuredprocess

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 bemodelled

BPMN CMMN

Business Modeling & Integration, Berlin, 12 June 2015 4

Page 5: Integration of BPMN and CMMN

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

Page 6: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Case Study: Admission to Master Program

Business Modeling & Integration, Berlin, 12 June 2015 6

Page 7: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Separate BPMN from CMMN

Business Modeling & Integration, Berlin, 12 June 2015 7

Page 8: Integration of BPMN and CMMN

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

Page 9: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Explicit Control Flowin BPMN

What does it mean?

Business Modeling & Integration, Berlin, 12 June 2015 9

Page 10: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Who executes a Tasks?

Business Modeling & Integration, Berlin, 12 June 2015 10

Implicit in roles Visualized

Page 11: Integration of BPMN and CMMN

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 – endcatching – 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

Page 12: Integration of BPMN and CMMN

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

Page 13: Integration of BPMN and CMMN

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

Page 14: Integration of BPMN and CMMN

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

Page 15: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

BPCMN: An Example

Business Modeling & Integration, Berlin, 12 June 2015 15

Page 16: Integration of BPMN and CMMN

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

Page 17: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

BPMN CMMN

Task types: User, Manual Script, … Task types: Human

Subprocesses Process/Case Tasks

Events: start – intermediate – endcatching – 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

Page 18: Integration of BPMN and CMMN

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

Page 19: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

BPCMN covers structured and case processes

partly translated from (Gadatsch 2005, S. 44)

structuredprocess

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 bemodelled

Business Modeling & Integration, Berlin, 12 June 2015 19

Page 20: Integration of BPMN and CMMN

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

productdevelopment

decisionmaking lessons

learned

$ §

Business Modeling & Integration, Berlin, 12 June 2015 20

Page 21: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Using DMN to model Decision Logic

Business Modeling & Integration, Berlin, 12 June 2015 21

Page 22: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

DMN – Eligibility Check

Business Modeling & Integration, Berlin, 12 June 2015 22

Page 23: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann

Using DMN to model Decision Logic

Business Modeling & Integration, Berlin, 12 June 2015 23

Page 24: Integration of BPMN and CMMN

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

Page 25: Integration of BPMN and CMMN

Prof. Dr. Knut HinkelmannProf. Dr. Knut Hinkelmann Business Modeling & Integration, Berlin, 12 June 2015 25