Remote engine spring boot app access to engine classes

Hi,
It appears that almost all Camunda 7 examples deal with the embedded engine. I have a spring boot app that uses the rest starter dependency to access the remote engine to deploy and start the process. I would like to create a Spring bean to implement an expression. I need access to the DelegateExecution in order to get access to the variables. I also need access to the JavaDelegate to implement a service task. What dependency do I include in order to do that?
Thanks,
Hari

Hi @iyerh.

The delegate expressions are used in the embedded setup. For the remote engine you would normally implement your service task as an external task and then use a worker (e.g. using the external task client):

As the code is not inside the same spring boot app as it is with the embedded setup, the Camunda process engine cannot access your delegates directly.
If you want to use the services transparently in the remote setup, there’s an extension that can support you:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.