34
Schreckgespenst Case Management? [email protected] | berndruecker

Case Management & CMMN - Talk at JAX 2015

Embed Size (px)

Citation preview

Page 1: Case Management & CMMN - Talk at JAX 2015

Schreckgespenst Case Management?

[email protected] | berndruecker

Page 2: Case Management & CMMN - Talk at JAX 2015

Hallo!

Bernd Rücker

Co-Founder of camunda> 10+ years experience

with workflow and Java EE

@[email protected]

Camunda

Open Source BPM PlatformBased in Berlin + San

FranciscoNo Venture Capital

~ 30 people - growing

Page 3: Case Management & CMMN - Talk at JAX 2015

Operatives Prozessmodell im POC**POC = Proof of Concept

Prozessmodell vereinfacht

Page 4: Case Management & CMMN - Talk at JAX 2015

+ + +

#{script

&& el}

Prozessautomatisierung

Page 5: Case Management & CMMN - Talk at JAX 2015

Ergebnis trif f t auf Realität

“Ich weiß noch gar nicht ob wir ein Gutachten brauchen – das entscheidet Herr Müller später wenn wir das Rating haben

“Oh – Boni-Unterlagen müssen wir übrigens erneut anfordern wenn sich während der Prüfung neue Informationen ergeben –z.B. über die Presse.

“Ab und zu merken wir beim Erstellen des Ratings dass dies doch nicht notwendig ist.

“Die Reihenfolge wird übrigens sowieso nicht immer eingehalten…

Page 6: Case Management & CMMN - Talk at JAX 2015

Jetzt gibt es zwei Möglichkeiten

1.Hier arbeiten „Knowledge

Worker“

2.Hier fehlt es an Disziplin

Page 7: Case Management & CMMN - Talk at JAX 2015

Published by OMG in May 2014 as the BPMN-equivalent for „Cases“

„Activities that are not so predefined and repeatable, but instead depend on evolving circumstances and ad hoc decisions by knowledge workers regarding a particular situation”

Typical Use Cases:

−application and claim processing in insurance

−patient care and medical diagnosis in healthcare

−exception handling, e.g. problem resolution in call centers, invoice discrepancy handling, data validation errors, …

See http://www.omg.org/spec/CMMN/1.0/

Camunda shipped CMMN 1.0 implementation with 7.2

CMMN

Page 8: Case Management & CMMN - Talk at JAX 2015

Der „Fall“ Kreditüberwachung in CMMN*

Case (Fall)

Stage (Phase)

Milestone(Meilenstein)

Sentry(Wächter)

Task(Aufgabe)

* Case Management Model and NotationVersion 1.0 – Mai 2014

Page 9: Case Management & CMMN - Talk at JAX 2015

Example: Underwriting

* Not (yet) defined by BPMN standard – vendor extension

Page 10: Case Management & CMMN - Talk at JAX 2015

Do it in BPMN?

There are workarounds – but this is hard to model in BPMN. You need more flexibility for

the „Knowledge Worker“

It is hard to give a stable ordering of the tasks! Flexibility needed.

100 % standardized –no flexibility needed

Page 11: Case Management & CMMN - Talk at JAX 2015

Underwriting as CMMN

Page 12: Case Management & CMMN - Talk at JAX 2015

CMMN explained

Human Task –automatically

activated

Process Task –manuallyactivated

Milestone

Sentry – controls ifthe Milestone is

reached

Sentry – controls ifthe User Task is

enabled

Connector – tovisualize

dependencies(no sequence flow!)

Page 13: Case Management & CMMN - Talk at JAX 2015

CMMN can call BPMN

* Defined by CMMN standard

Page 14: Case Management & CMMN - Talk at JAX 2015

CMMN can be best explained via UI

Page 15: Case Management & CMMN - Talk at JAX 2015

Example UI for Case Instance

Task Form – to workon Human Task and

see context from case

Case Context (couldshow or link more

information)

Case Activities –provided by engine,

correspond to lifecycle

Page 16: Case Management & CMMN - Talk at JAX 2015

Task Lifecycle

Page 17: Case Management & CMMN - Talk at JAX 2015

Lifecycle Mapped on UI

not shown!

Page 18: Case Management & CMMN - Talk at JAX 2015

Demo

Source code available:

https://github.com/camunda/camunda-consulting/tree/master/showcases/underwriting

Page 19: Case Management & CMMN - Talk at JAX 2015

CMMN might be more complex (and powerful)

Sentry might takedata (variables)

into account.A stage is one„phase“ in the

case.

Exit Criterias canmark results of a

case.

Page 20: Case Management & CMMN - Talk at JAX 2015

By the way…

We are currentlyworking on DMN

(Decision Model andNotation).

Can be used in BPMN or CMMN (orstandalone).

Page 21: Case Management & CMMN - Talk at JAX 2015
Page 22: Case Management & CMMN - Talk at JAX 2015

Rot & Blau

Quelle: Gerhard Wohland - Denkwerkzeuge der Höchstleister, Murmann 2007

Page 23: Case Management & CMMN - Talk at JAX 2015

Structured vs. Unstructured work

Unstructured ProcessesNonroutine Work

Structured ProcessesRoutine Work

Page 24: Case Management & CMMN - Talk at JAX 2015

Typical patterns

Preparation ProcessingEvaluation or

Decision(by expert)

e.g. scanning, validating, storingmaster data, loadingadditional data orquerying services, …

e.g. creatingpolicy/order/..., provisioning, sendingletters, billing, ...

Automated Processing

ExecptionHandling

e.g. manual processing, correcting data and continueautomated processing, callingcustomer to discuss, ...

Page 25: Case Management & CMMN - Talk at JAX 2015

Existant…

Nonroutine Creative Work

Interessting topics to look at in future: Adaptive Case Management, Process Mining, …

But does itscale?

Page 26: Case Management & CMMN - Talk at JAX 2015

Also: Dunkelverarbeitung

Page 27: Case Management & CMMN - Talk at JAX 2015

Question of maturity

End-to-End Process

End-to-End Process

somereamining

manual work

GOAL(in 10 years)

NOW

AutomatedSnippet

AutomatedSnippet

Page 28: Case Management & CMMN - Talk at JAX 2015

Use the right tool for the job!

Unstructured ProcessesNonroutine Work

Structured ProcessesRoutine Work

Page 29: Case Management & CMMN - Talk at JAX 2015

BPMN (+ Extensions)

CMMN

Aufgaben-Management (flexibel)

Page 30: Case Management & CMMN - Talk at JAX 2015

BPM & camunda BPM Vision

Workflows Cases Decisions

DMN

Page 31: Case Management & CMMN - Talk at JAX 2015
Page 32: Case Management & CMMN - Talk at JAX 2015

Adaptive

Case

Management

(ACM)

damn it – BPM getsboring – let‘s coin

another term!

Page 33: Case Management & CMMN - Talk at JAX 2015

Type (level ofadaptivity)

Systems / languages / means

Example

Adaptive Ontologies, Semantic models, ObACM (‘ontology based ACM’)

Learning knowledge, inference of results rather than static queries, changes on the fly to activities, addition of new activities, changes to data structures, one (NON IT centric) vocabulary

Guiding Analytics in ACM decision dashboard, integration of statistical means (e.g. R), Collaborative Decision Making (CDM), Social BPM

Others have done ABC in your current context, rules bases reasoning, sharing of knowledge across contexts. ACM engine suggest best next steps; user picks one, rules / statistic framework integration. Still finite set of a priori defined activities (known already at design time).

Dynamic BPMN / workflow engine / ACM

More dynamic workflows. Typically using features like events in BPMN or like business rules for gateway logic. Often list of possible steps is dynamically read from external places, like Excel sheet. First ACM engines address this. Finite set of a priori defined activities (known already at design time),

Predefined BPMN / workflow engine Static workflows – a priori defined activities (all known during process design), static, changeable through IT only.

Grad der Adaptivität

Quelle: Hajo Normann, Clemens Utschig-Utschig, Jürgen Kress, Torsten Winterberg in „Thriving on Adaptability: Best Practices for Knowledge Workers”

Das ist eigentl. ACM

und das funktioniertschon heute

CMMN

Page 34: Case Management & CMMN - Talk at JAX 2015

Vielen Dank – Fragen? Sprecht uns an – am camunda Stand!