Top Banner
Case Management – Thijs Petter, Hidera Standards Battle in Daily Practice BPMN and Case Management Thijs Petter, Hidera
31

ASAS 2014 - Thijs Petter

Jun 12, 2015

Download

Technology

Avisi B.V.

ASAS 2014 - Standards battle in daily practises
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Standards Battle in Daily Practice

BPMN and Case Management

Thijs Petter, Hidera

Page 2: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Agenda

• Short background on software development• Experiences with Case Management• What is CMMN

• Background• Concepts of CMMN• Modeling constructs

Page 3: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Background of Software Development

Focus: Business Applications

Page 4: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Software Development for Business Applications

Page 5: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

ChallengesAfter development

Page 6: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Challenge 1: Upgrading the standard package

Page 7: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Challenge 2: Integrating the standard package

Page 8: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

So, what did we (the ICT industry) do?• Challenges

• Integration with the existing customer application landscape• Customization & configuration vs. new releases

• Application integration • Service orientation – SOA, ESB• Open standards – XML, Web Services, HTTP, Rest, etc.

• Application customization through “configuring models”• Focus on business rules and processes (and more …)• BPMN emerged as de facto standard for process automation

Page 9: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Typical Product Stack

Page 10: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

BPMN Strengths & Challenges

• Flowchart is a widely adopted abstraction• BPM + SOA makes a great case for application integration

• Composite applications

• Flowchart is pro-active, procedural, predefined• Order of activity is fixed up front• Unclear relationship with the “file at hand”

• Not well suited for application development (more for integration)

• Case Management as an emergent standard for process automation• Knowledge worker can choose the “plan” at runtime (rather than analyst coding it)• Reactive, event-driven rather than procedural• Focused on the “case” to handle (more object/file oriented than task oriented)

Page 11: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Practical Experiences

With Cordys Case Management

Page 12: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Cordys Case Management at CIZ

• Assignment• Validate eligibility for Care Under the AWBZ• Annual AWBZ Expenditure 28,5 Billion Euros

• Challenges• Replace primary process system (1500 internal, 20.000 external users)• Need for turn-key migration

• Tightly integrated in Healthcare Chain• BPM based project failed

• Simple requirements ok, more complex requirements too difficult

• New system architecture based on Case Management• Single top-level case model automates entire system (>1 Million cases per year)• Close interaction with business owners in model development

Page 13: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Standardization

Page 14: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Case Management Standardization: CMMN

• Case Management standardization• IBM, Cordys, Oracle, and quite a few others

• Spec released May 5th, 2014• Case Management Model & Notation – CMMN

Page 15: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Spec example: Claims Management

Page 16: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

My first CMMN model

Page 17: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Education Submit & Review

Page 18: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Initial “Designer”

Page 19: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

CMMN Concepts

Page 20: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

CMMN Pillars

• Runtime Planning• Constraining choices instead of prescribing

• Guard / Stage / Milestone• Declarative model

• Including description of entities• Offering structure to ECA style rules

Page 21: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Design Time vs. Run Time Planning

• Business analysts responsible for design time• Planned/pre-defined tasks and optional (“discretionary”) tasks

• Case workers responsible for run time• Perform planned tasks, add optional tasks

Page 22: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

CMMN Modeling Constructs

• Case File• Explicit description of case information structure• Case File can generate “change events”

• Case Plan• Workflow-like description of the tasks etc.• Reacts to events in the case file and in the case plan

• Case Roles• Enable authorization within the case plan

Page 23: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

CMMN Modeling Constructs – The Case Plan• Case Plan consists of

• Plan Items• Sentries

• Plan Item• Has a type definition (Task, Stage, Milestone, Event)• Properties “Repeatable” and “Required”• Has a lifecycle, determined by States and Transitions• Introduced to enable patterns of definitions

• E.g. re-use a Task or a Stage in different places in the process

• Sentry• Event + Condition under which a Plan Item starts or stops

Page 24: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Plan Item Types: Task, Stage, Milestone, Event• Task

• Single unit of work• Human Task, Case Task, Process Task• Blocking or non-blocking

• Stage• Grouping & nesting of plan items

• Milestone• A goal that can be reached; can be used to track progress of the case

• Event• Enable “listening” to Time and custom User events

Page 25: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Plan Item Lifecycle – dependent on type

Task & Stage lifecycleNote: Stage propagates transitions

Milestone & Event lifecycle

Page 26: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Sentry

• Plan Item lifecycle is influenced through Sentries

• Sentry activation (“sentry is satisfied”)• After a transition on plan items or case file items in the case (“On Part”)

• E.g. Order.Create, Document.Update, Review.Complete, MailTask.Fault, EersteInleverDatum.Occur

• Additionally a condition (“If Part”)

Entry criterion Task.Start

Exit criterion Task.Exit

Page 27: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Sentry Examples

Task A

Task B

Task A

Task B

Task C

Task A

Task B

Task C

Milestone A

Task A

Task A

Page 28: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Discretionary Items (“Optional tasks”)• Discretionary Item is a kind of a Plan Item

• Decision to add this to the plan cannot be made at design time• Case Worker decides to add it to the Case Plan

• Case contains a list of discretionary items• Structured through planning tables at the level of Stage or HumanTask• Custom filtering through Applicability Rule

• Determines whether the item is “currently” applicable

Stage A

DT1

Task A

Discretionary Task 1

Discretionary Task 2

Page 29: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

All DecoratorsPlanning Table

Exit Criterion

Repeatable

Manual ActivationExpandable

Auto Completion

Required

Entry Criterion

Page 30: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Concluding remarks

• CMMN is complementary to BPMN

• Graphical notation needs attention• But let’s first build up some experience

• CMMN is a new standard• Vendor adoption slowly taking shape

Page 31: ASAS 2014 - Thijs Petter

Case Management – Thijs Petter, Hidera

Thank you & questions

Contact details

Thijs Petter

[email protected]/in/thijspetter