The BPMN Model API allows you to read, update and create BPMN 2.0 compliant process models using a high level Java API. The API itself lives inside a separate repository on Gihub so that it can be used independently from camunda BPM.
In this release we integrate it into camunda BPM distributions giving you convenient access to the process model at runtime.
First, you can access the model for all processes deployed to the process engine using the Repository Service:
You can also get your hands on the current FlowElement or Usertask from a JavaDeleagte, ExecutionListener or TaskListener implementation:
Sebastian Menski who is largely responsible for the BPMN model api implementation also added a fluent builder API which makes it easy to create a new BPMN process (or edit an existing process) using in only a few lines of code:
Task Operation Log
Thanks to Danny Gräf, the process engine now logs operations performed on tasks at history level full. This allows you to inspect which user created, delegated, completed ... a Task:
This is a feature request that many of our customers requested. We plan on adding this feature to the cockpit monitoring application as well.