Camunda BPM 7.2: CMMN Case Management (English)
-
Upload
camunda-services-gmbh -
Category
Software
-
view
752 -
download
8
Transcript of Camunda BPM 7.2: CMMN Case Management (English)
Hands-on Webinar
Camunda BPM 7.2
Case Management / CMMN
10+ years experience with workflow and Java EE
Co-Founder of Camunda
Evangelist
Head of Consulting
@berndruecker
Bernd Rücker
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
Example: „Underwriting“
Example: „Underwriting“
Example: „Underwriting“
Example: „Underwriting“
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
CMMN as alternative
CMMN explained
Human Task – automatically
activated
Process Task – manually activated
Milestone
Sentry – controls if the Milestone is
reached
Sentry – controls if the User Task is
enabled
Connector – to visualize
dependencies (no sequence flow!)
Now the process gets easier and more stable
BPMN Standard does not (yet) support CallActivity for CMMN
Camunda will introduce this with 7.3
Workaround recommendation for now:
Alternatives:
You can replace the Service Task by an Execution Listener if you prefer
You can hack the CallActivityBehavior
BPMN calls CMMN
Defined by CMMN Standard – no workarounds necessary
CMMN calls BPMN
CMMN can be best explained via UI
Example UI for Case Instance
Task Form – to work on Human Task and
see context from case
Case Context (could show or link more
information)
Case Activities – provided by engine,
correspond to lifecycle
Task Lifecycle
Lifecycle Mapped on UI
not shown!
Demo
Source code available:
https://github.com/camunda/camunda-consulting/tree/master/one-time-examples/2015-01-webinars/webinar-cmmn
Live Hacking…
CMMN might be more complex (and powerful)
Sentry might take data (variables)
into account. A stage is one „phase“ in the
case.
Exit Criterias can mark results of a
case.
See online:
http://docs.camunda.org/latest/api-references/cmmn10/
CMMN Coverage in 7.2
Current Toolchain
CMMN Web Modeler
Developers DIE (e.g. Eclipse)
Engine / Application Server
Own application with User Interface
Camunda Cockpit with ACM Plugin
CMMN File
+ PNG
Normal deployment (e.g. WAR)
API (Java or REST)
API (Java or REST)
Cockpit Plugin
available via Plugin Store: camunda.org/plugins
Special thanks to our partner
Holisticon & Simon Zambrovski
Gain more real-life experience and collect feedback
Work on CMMN coverage (Required, discretionary, events, …)
Add Cases to cockpit
Add CMMN-Modeler (on bpmn.io basis)
Next steps and further ideas
Disclaimer: No fixed roadmap decided yet.
Structured vs. Unstructured work
Unstructured Processes Nonroutine Work
Structured Processes Routine Work
Typical patterns
Preparation Processing Evaluation or
Decision (by expert)
e.g. scanning, validating, storing master data, loading additional data or querying services, …
e.g. creating policy/order/..., provisioning, sending letters, billing, ...
Automated Processing
Execption Handling
e.g. manual processing, correcting data and continue automated processing, calling customer to discuss, ...
Existant…
Nonroutine Creative Work
Interessting topics to look at in future: Adaptive Case Management, Process Mining, …
But it is important to distinguish
1. You have „Knowledge
Workers“
2. You are missing
discipline!
Often a question of maturity
End-to-End Process
End-to-End Process
some reamining
manual work
GOAL (in 10 years)
NOW
Automated Snippet
Automated Snippet
Scaling your business with BPM!
Zalando
Founded: 2008
Employees: 7000
Revenue: 1,8 billion EUR
But:
Keeping flexibility might help you
on the first steps!
A real-life example (using plain BPMN)
Now you can add a switch!
Use the right tool for the job!
Unstructured Processes Nonroutine Work
Structured Processes Routine Work
Thank you!
Questions?
Start now!
Open Source Edition • Download:
www.camunda.org • Docs, Tutorials etc. • Forum • Meetings
Enterprise Edition • Trial:
www.camunda.com • Additional Features • Support, Patches etc. • Consulting, Training
http://camunda.com/bpm/consultation/
[email protected] | US +1.415.800.3908 | DE +49 30 664040 900