Home / Flowable / Lesson 14

Case vs process

CMMN. A free Flowable lesson in simple English (2:53 minutes).

Open in the academy (practice, progress and notes)

Chapters

Lesson text

0:00 What you will learn

Welcome to lesson fourteen. Now we start CMMN. First, the big question: when should you model a case, and when a process? Choosing the right one makes your models much simpler. This is an independent course. It is not made or approved by Flowable.

0:16 The difference

Let's compare them. A process, in BPMN, is best when you know the order of the steps. The arrows decide what happens next. A case, in CMMN, is best when the work depends on the situation. Experts decide what to do next, and the order can change. So, a process follows a path. A case reacts to the situation.

0:39 Plan items

In a case, almost everything is a plan item. Tasks, stages and milestones are all plan items. Each plan item has a state. It can be available, enabled, active, or completed. These states decide what can happen. CMMN usually doesn't use arrows to show the order. Instead, sentries decide when items can start. We will learn about them in lesson sixteen.

1:06 The case plan model

The whole case is drawn inside a big box with a folder shape. This is called the case plan model. Everything in the case goes inside it: stages, tasks, milestones, and event listeners.

1:19 Using both

You don't always have to choose only one. A case can start a process with a process task. For example, an insurance claim is a case. But paying the money always follows the same steps, so it can be a process. And a process can start a case with a case task.

1:36 Practice question 1

Question one. A doctor decides which tests a patient needs, and the order depends on each result. Which fits best? A, a BPMN process. B, a CMMN case. C, a decision table only. Or D, a form only.

The answer is B, a case. The work depends on the situation, and experts decide what is next.

2:06 Practice question 2

Question two. In CMMN, what decides when a plan item can start, instead of arrows? A, sentries. B, pools. C, lanes. Or D, sequence flows.

The answer is A, sentries. CMMN usually uses sentries, not sequence flows.

2:33 Summary

Let's review. Use a process when the order is known, and a case when the work depends on the situation. In a case, almost everything is a plan item, and plan items have states. In the next lesson, we will learn about stages, human tasks and milestones. Thank you for learning with us.

Practice questions

A doctor decides which tests are needed, and the order depends on each result. What fits best?

Answer: A CMMN case. The work depends on the situation, and experts decide what is next.

In CMMN, what decides when a plan item can start, instead of arrows?

Answer: Sentries. C M M N usually uses sentries, not sequence flows.

Sources