Search this Blog

Search this Blog


Follow our Blog by Email

Wednesday, August 19, 2015

How to repeat a task in CMMN?

We have some good news: We implemented the repetition rule in our CMMN engine. This gives the users the ability to repeat a task under certain conditions.

We invite you to try it out!
For testing purposes use the current 7.4.0-SNAPSHOT of the engine and repeat a CMMN task as often as you wish.

There also exists some documentation with an explanation how the repetition rule works and how you can use it. Just read the section about repetition rule.

Every feedback is welcome.
If you miss something or something does not work as expected please let us know.

PS: We are currently refactoring the documentation. So apologize if there is something in the documentation that does not work as usually. We are working on it.

Monday, August 10, 2015

Migrate Process Versions

My colleague Ingo just finished a new cockpit plugin allowing to easily migrate a running process instance to a new version of the process definition:

Bringing Together: Transactions, Cancel Events and Compensation Tasks

If you've ever been lucky enough to enjoy Camunda's BPMN training then you probably have fond memories of the slide featuring Compensation tasks and Cancel events. It happens to be the very last slide in the symbol set section and is traditionally follows by a well deserved break. It also happens to be a very well implemented part of the Camunda engine.

This post is going to be all about how a process containing a transaction, cancel end event and compensation task are all implemented. The process I'm going to be describing is available on github to download and play with yourself. the process itself looks like this:

Thursday, August 6, 2015

First Version of Released

Today we release the first version of, our new DMN modeling toolkit. allows you to view and model decisions with the DMN 1.0 standard directly on the web. The library provides a viewer and an editor that can be embedded into web applications. With this release we provide the front-end element for the latest Camunda BPM 7.4.0 alpha release, which introduced support for DMN.

Rendering BPMN and highlight current task using

With and the Camunda REST API it is really simple to develop a small HTML page that displays a process instance grafically and highlights some activities. In our "JSF Simple Tasklist" snippet we used this to highlight the current Task (like it is done in the Camunda BPM Tasklist):

Wednesday, August 5, 2015

Start and Complete a process with the REST API

If you’ve already downloaded the Camunda BPM platform you’ve already got our invoice example running locally. So I’m going to start with how you might run through that process using our REST API.

I’m going to assume that you’ve got some method of making those calls either programmatically or using a RestClient (I’ve used chrome’s advanced rest client to test the calls). So lets begin... 

Starting the process. 

For most processes we could kick things off by using the start process instance rest call /process-definition/key/{key}/start. But because the invoice process has a start form I’m going to use another way of starting the process /process-definition/key/{key}/submit-form [2]. Which looks something like this:

Monday, August 3, 2015

Job Prioritization for Asynchronous Processing at Scale

Camunda users process heavy workloads with the process engine. Often this includes asynchronous processing which is handled using the job executor component. The amount of jobs that need to be processed can quickly reach an order of magnitude of millions of jobs per day. To bring order into situations of high job executor load, Camunda BPM 7.4.0 will ship job prioritization. With our first 7.4.0-alpha1 release, you can already have a look at it and give it a try. This article deals with three questions: