Camunda 7.8.0-alpha2 Released

  • Blog
  • >
  • Camunda 7.8.0-alpha2 Released

30 Day Free Trial

Bring together legacy systems, RPA bots, microservices and more with Camunda

Sign Up for Camunda Content

Get the latest on Camunda features, events, top trends, and more.


Camunda BPM platform 7.8.0-alpha2 is here and it is packed with new features. The highlights are:

  • OR in task queries
  • Sorting and filtering in Admin
  • Extending of locks on external tasks
  • More batch operations in Cockpit: suspend/restart process instance and set retries on external tasks (EE)
  • 18 Bug Fixes

Also see the complete list of release notes
and the list of known issues.

You can download it
or run it with docker.

If you want to dig in deeper, you can find the source code on GitHub.

OR in Task Queries

Tasks are an integral part of processes since they are considered as the smallest entity of work. According to the
technical context, Camunda BPM provides several interfaces for querying tasks. Listed from bottom to top in the stack
these are: Java API, REST API and Tasklist.

With this release we are introducing OR in Task Queries as the counterpart of the default task query behavior (AND).

Switching the query type from ALL to ANY in Tasklist

Ordinary task queries consist of the combination of different criteria. Adding further criteria to a query leads
implicitly to a gradual reduction of the total task amount. Technically speaking: the criteria are combined with a
logical AND operation.

OR in Task Queries allows to unite multiple total amounts of tasks where each of these meet other criteria. In other
words the total amount of tasks are composed not only of tasks which meet all criteria simultaneously, but also of tasks
which either meet one or the other criterion. The combination of two criteria can therefore reveal more tasks than
each of which on its own.

Everything has been said! Please show me some code…

Here you can see an use case of the newly introduced Java API:

List<Task> tasks = taskService.createTaskQuery()

And this is how the REST API call would look like:

POST /task

  "orQueries": [
      "nameLike": "%Appr%",
      "priority": 50

The queries above would retrieve all tasks which either contain the substring “Appr” in the task name or given the 50th
degree of priority.

For more details, please see the documentation about the
Java API and the

Extending of locks on external tasks

External tasks allow a Fetch & Lock
method which will lock a task for a given amount of time. However, this time limit is strict and cannot be changed.
After the timeout is reached, the lock expires and the task can be fetched and locked once again.

This release makes it possible to change the timeout for the worker who owns the lock on external task.

It solves a problem when working with long running processes that can fail during their execution.
For example, we have two servers up and we Fetch & Lock and start a long running process on one of those servers.
This long running could take 12 hours to complete, so we set the timeout to be 12 hours. Two hours into the process,
that server has a problem and is automatically torn down and a new server is brought up in its place.
Before, Camunda (and the second server) would have continued waiting for another 10 hours before unlocking the task.

Now it is not necessary to set such a long timeout from the beginning.

A worker can extend the lock sequentially during the execution of external task to avoid the situation above. In our example the first server can report every 5 minutes
that it is still working on the task and will need at least 10 minutes more. In case after another 10 minutes, it has neither reported “complete”, nor extended
the lock for 10 more minutes, the task will be unlocked by Camunda and can be taken for execution by another server.

In Java API, the feature can be accessed through ExternalTaskService:

    ExternalTaskService externalTaskService = processEngine.getExternalTaskService();
    externalTaskService.extendLock("exampleExternalTaskId", "exampleWorkerId", 60000);

In this example, the lock duration will be extended by 60000 ms = 1 min.

The REST API call would look like:

POST /external-task/exampleExternalTaskId/extendLock

        "workerId": "exampleWorkerId",
        "newDuration": 60000

For more details, please see the documentation about the
Java API and the

Sorting and filtering in Admin

Among other things the Admin webapp is supposed to manage users, groups and tenants. This release brings new features
to make finding certain records of these categories more easy.

Sorting & Filtering in Admin

This is achieved on the one hand by providing the possibility to sort rows of a results table according to a particular
attribute in ascending or descending order. On the other hand the rows of the results table can now be filtered according
to several criteria with the well known search widget.

More Batch Operations in Cockpit

In our last alpha release we added a new batch operation to change the suspension
state of process instances via Java

For our Enterprise Customers this feature is now also conveniently available in Cockpit in the Batch Operations page.

Camunda Cockpit Batch Operations

Another frequently requested feature is now also available per API and Cockpit: Restarting external tasks in batch. Check out the Java API and REST API.

Take a Sneak Peek at What Is Next

We are already eagerly busy preparing for the next alpha release, which is scheduled for end of August.

Among other things, we are working on the following features, which are planned to be released in one of the next alpha releases:

  • Batch modification of process instances (EE)
  • Batch restart of finished/cancelled process instances (EE)
  • Cockpit improved Support for JSON & XML Variables

And that is not all: if you are interested, take a look at the roadmap.

The minor release of Camunda BPM 7.8 is coming this fall (November 30, 2017).

Your Feedback Is Highly Appreciated!

With every release we constantly strive to improve Camunda BPM. To make this possible, we are reliant on your feedback.
Feel free to share your ideas and suggestions with us.

You can contact us by writing a post in the forum.

Try All Features of Camunda

Related Content

Achieve our first certification as a Camunda Certified Professional—Developer.
We've been working hard to reduce the job activation latency in Zeebe. Read on to take a peek under the hood at how we went about it and then verified success.
2023 was quite a year for Zeebe, and the team has been hard at work improving performance. Get an overview of all the latest technical improvements.