Casemanagement with Camunda CMMN

I’m getting many customer questions about BPMN and CMMN. Customer cases are not really sequential nor parallel steps, but they need to have managed and traced steps. How to do it?

The answer is very simple, user Casemanagement. You will have a process model but your business steps can be executes in different orders. every case is handled on a different way. Some are dependance steps and others not. From each step you can decide to close the case(process). Some steps can be mediatory others not. Documents can be added to build the case, decisions can be made based on input.

In below I will try to explain a customer case which is handeling interruptions noticed by customer.

Customers fills in a form on web about a system interruption,

  • Service desk checks the details to determine if it is an interruption.
  • The customer will be contacted
  • the contact will be reviewed, based on the outcome of the review..
  • documents cane be requested..
  • documents can be reviewed and based on the review outcome..
  • more technical info can be requested.
  • in this case, it is also possible to create a customer case to close end the process at any time based on the step input.

In these steps you can even call a BPM to handle an approval process based on hierarchical decision.

Step by step Camunda project in Eclipse

Open Eclipse (I’m using Oxygen Release (4.7.0))

1- Click file New then Other, Select Maven Project, then Next, on the second wizard page keep default and then Next.

1

 

2- On the Archetype page you will not see Camunda,

  • Click on Configure

2

 

3- Add Remote Catalog

 

 

11

4

Now you can see Camunda under Catalogs

4- Select Camunda

 

5- Select Camunda-archetype-servlet-war

  • On the next page give your project and package a name and Click Finish

 

 

6

Your directory structure should look like the below screen.

8

 

  • As you see a template empty BPMN process is create, this will be your starting point for farther development

 

6- Now you can run your project as Maven Install

12

 

  • Check your directory structure, you see a WAR file create

 

9

 

  • Just deploy the WAR file to your Camunda installation folder

 

  • Check in the console, you can see your deployed process under the processes

10

In case of any question, please leave a comment.