Download - Case Management & CMMN - Talk at JAX 2015
![Page 2: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/2.jpg)
Hallo!
Bernd Rücker
Co-Founder of camunda> 10+ years experience
with workflow and Java EE
Camunda
Open Source BPM PlatformBased in Berlin + San
FranciscoNo Venture Capital
~ 30 people - growing
![Page 3: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/3.jpg)
Operatives Prozessmodell im POC**POC = Proof of Concept
Prozessmodell vereinfacht
![Page 4: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/4.jpg)
+ + +
#{script
&& el}
Prozessautomatisierung
![Page 5: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/5.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/6.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/7.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/9.jpg)
Example: Underwriting
* Not (yet) defined by BPMN standard – vendor extension
![Page 10: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/11.jpg)
Underwriting as CMMN
![Page 12: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/12.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/13.jpg)
CMMN can call BPMN
* Defined by CMMN standard
![Page 14: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/14.jpg)
CMMN can be best explained via UI
![Page 15: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/15.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/16.jpg)
Task Lifecycle
![Page 17: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/17.jpg)
Lifecycle Mapped on UI
not shown!
![Page 18: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/18.jpg)
Demo
Source code available:
https://github.com/camunda/camunda-consulting/tree/master/showcases/underwriting
![Page 19: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/19.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/20.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/21.jpg)
![Page 22: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/22.jpg)
Rot & Blau
Quelle: Gerhard Wohland - Denkwerkzeuge der Höchstleister, Murmann 2007
![Page 23: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/23.jpg)
Structured vs. Unstructured work
Unstructured ProcessesNonroutine Work
Structured ProcessesRoutine Work
![Page 24: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/24.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/25.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/26.jpg)
Also: Dunkelverarbeitung
![Page 27: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/27.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/28.jpg)
Use the right tool for the job!
Unstructured ProcessesNonroutine Work
Structured ProcessesRoutine Work
![Page 29: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/29.jpg)
BPMN (+ Extensions)
CMMN
Aufgaben-Management (flexibel)
![Page 30: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/30.jpg)
BPM & camunda BPM Vision
Workflows Cases Decisions
DMN
![Page 31: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/31.jpg)
![Page 32: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/32.jpg)
Adaptive
Case
Management
(ACM)
damn it – BPM getsboring – let‘s coin
another term!
![Page 33: Case Management & CMMN - Talk at JAX 2015](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/33.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042817/55a865b81a28ab04408b4677/html5/thumbnails/34.jpg)
Vielen Dank – Fragen? Sprecht uns an – am camunda Stand!