Camunda

Camunda Blog

Engineering

Introducing Task Filters

With Camunda BPM 7.2.0-alpha5, we introduce Task Filters. Task filters are TaskQueries which can be saved to the database so that you can run them repeatedly. Creating a Filter using Java API At a Java API Level, a filter can be created as a regular task query: // create a taskQuery TaskQuery myTasksQuery = taskService.createTaskQuery().taskAssignee(“daniel.meyer”).active(); // save taskQuery as filter Filter myTasksFilter = filterService.newTaskFilter(“My Tasks”); myTasksFilter.setOwner(“daniel.meyer”); myTasksFilter.setQuery(myTasksQuery); String filterId = filterService.saveFilter(myTasksFilter); // execute the filter List<Task> tasks = filterService.listPage(filterId, 0, 20); If you want to share the filter with other users and for each user, make should return that particular user’s tasks, it is possible to use Expression Language in the task query: taskService.createTaskQuery().taskAssigneeExpression(“${ currentUser() }”).active(); The above example uses…

By Daniel Meyer

Engineering

How to handle absent Assignees

“I want usertasks to be reassigned if the assignee is currently absent. How would I do this in Camunda?” As always, there is plenty of possible approaches to handle this situation. One of them begin a Task Listener. I created a little snippet that demonstrates how this can work: Absence Manager Snippet on GitHub For those of you who don’t want to build and deploy this demo application right away, there is also a little screencast below. How to handle absent Assignees from camunda on Vimeo.

By Jakob Freund

Community

camunda BPM Community Day 2014

Last Thursday we organized the 2nd camunda BPM community Day. After visiting Prague last year we went for the home game and invited the community to our Berlin offices. So we put all our desks and chairs and other stuff away to make room for the attendees. Around 65 people had registered and without doing an exact headcount, I suppose that more than 50 attended which Bernd described as “the biggest open source community day he ever attended”. Sandy Kemsley, who also attended, already published extensive summaries on the most of the talks so I am just going to link to them here: Australia Post at Camunda Community Day camunda Community Day technical presentations What’s Next In camunda – Wrapping…

By Daniel Meyer

Engineering

cockpit plugin store

We have Camunda Cockpit as a great tool for monitoring and operations. But roles and requirements for monitoring and operations always differ in our real-life projects – so we allow plugins for Cockpit. In the last 48 hours (on our Camunda hackdays) we implemented a “plugin store” for the existing community plugins – so everybody can much easier try out plugins or see what plugins exist. The plugin store scans various GitHub repositories and searches for plugin metadata. And we compiled a list of all default plugins included in the standard distribution (as most of the cockpit functionality is implemented as plugin). You can browse through all plugins easily: Try it out: https://camunda.org/plugins/ After collecting plugins you can: download the cockpit.war: In…

By Bernd Ruecker

Engineering

camunda BPM 7.2.0-alpha4 released: CMMN Listener, Tasklist, Spin, Connect

Today we release the next alpha release of camunda BPM platform. The highlights of this release are: CMMN Listener support Embedded Forms in Tasklist JSON support in Spin JSON to Java mapping with Spin Simple REST HTTP Connector See complete release notes in Jira.   Download camunda BPM 7.2.0-alpha4 now. Add Listeners to your CMMN Case Definitions As the CMMN support of our platform steadily increases we started to add features known from our BPMN implementation. With this alpha release you can add camunda:caseExecutionListener to plan items and camunda:taskListener to human tasks: Case execution listener can be added for the following state transitions: close, complete, create, disable, enable, exit, manualStart, occur, parentResume, parentSuspend, parentTerminate, reactivate, re-enable, resume, start, suspend and…

By Sebastian Menski

Engineering

Hello ${name}! – Templating with camunda BPM

As part of our scripting improvements we also addressed templating as a new feature of camunda BPM. With the new camunda BPM 7.2.0-alpha3 release it is now also possible to use FreeMarker or Apache Velocity templates inside your BPMN process. We integrated this template engines as JSR 223 compatible scripting engines. Therefore we create small wrappers for these template engines in our camunda-template-engines-jsr223 project. This has the advantage that we do not need new extension elements or attributes for the BPMN xml. Instead a template can be used everywhere a script can be used. This is especially useful for script tasks and input output mappings. If the template engine JSR 223 wrapper is part of your classpath you can use the name of…

By Sebastian Menski

Engineering

News from the front-(end)

The front-end of the Camunda BPM platform has been under heavy development.The web-apps have been externalized and separated into different projects,which means that the “admin“, the “cockpit” and the upcoming “Tasklist” have their own repositories,and those projects are now relying on the “UI commons” and the “JavaScript SDK” libraries.   The JavaScript SDK The actual JS SDK has already been implemented in the upcoming Tasklist and allows us to start processes and use their embedded forms (when they use one). The forms handling is also being re-written from scratch to be easier to use and less conflicting with the HTML you might have wrote to customize your user experience. New embedded form: What did change? Mostly, the attributes. An embedded form must have…

By Valentin Vago

Engineering

Embedded Case Management with CMMN in camunda BPM

In our latest alpha release we include a preview of the upcoming support for CMMN (Case Management Model and Notation) in camunda BPM. Time to have a look at CMMN and the way it is implemented in camunda BPM.   What is CMMN? CMMN is an emerging OMG standard for (Adaptive) Case Management. Version 1.0 is freshly released and vendor adoption starts to take off. Trisotech already provides a Web-based Modeler for CMMN and we at camunda have the ambition to provide the first embedded, Open Source Runtime Engine for CMMN. CMMN allows modeling Cases. A case allows humans to do work in a more or less structured way in order to achieve something. Classic examples where case management is applied…

By Daniel Meyer

Ready to get started?