Introduction to Camunda 7

Camunda 7 is a powerful, open-source platform designed for workflow and process automation. It offers a comprehensive suite of tools for managing business processes, including capabilities for modeling, automating, and optimizing workflows.
Before Camunda BPM 7.18
In both approaches, you need to register your method via the function mapper. If you want to call a method from a bean using an expression like ${myBean.method()}
, the process happens automatically without any additional code. However, if you prefer to use the method in the format ${runner:method()}
or ${method()}
, here’s how you can do it.
In the ProcessEngineConfigurationImpl
class provided by Camunda, you’ll find the ExpressionManager
. This class exposes all the necessary methods for you to use.


To register a new function mapper, you need to create a class that implements the FunctionMapper
interface. Here’s a sample implementation to get you started.

Now, you can create a process engine plugin to initialize the function mapper when Camunda’s process engine starts configuring.

Now you can use ${jsonPath(a, b)
in workflow
After Camunda BPM 7.18
After Camunda 7.18, the addFunctionMapper
function was removed. You might need an alternative workaround, and this link might be helpful for you.
https://forum.camunda.io/t/how-do-i-add-functionmappers-to-expressionmanager-in-7-18/40466/2