In Activiti it was possible (at least in version 5.14) to define custom behavior for a specific node. This was done by extending the org.activiti.engine.impl.bpmn.parser.factory.DefaultActivityBehaviorFactory
where I could redefine whatever I wanted and then by overriding org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl#getDefaultDeployers
I was able to set that custom factory in the org.activiti.engine.impl.bpmn.parser.BpmnParser
For Camunda I can’t find an easy way of doing the same thing.
My goal is to extend the org.camunda.bpm.engine.impl.bpmn.behavior.UserTaskActivityBehavior
class and by doing this I want to be able to set candidates or to set assignee at runtime globally for the process engine.
Is there a way to do this in Camunda?