Option like DelegateVariableMapping

Hi,

Is there an option similar to org.camunda.bpm.engine.delegate.DelegateVariableMapping, which is available in Camunda?

I am trying to generate bpmn xml programatically as we have our own process designer. I would like to keep the xml simple by delegating the variable mapping between processes by mentioning a Delegate class.

Thanks and Regards
Venugopal

You should be able to get the variables you need from the DelegateExecution object’s super, the VariableScope wether you want specific ones or a collection of them by name, etc.

https://flowable.com/open-source/docs/javadocs/org/flowable/engine/delegate/DelegateExecution.html
https://flowable.com/open-source/docs/variable-javadocs/org/flowable/variable/api/delegate/VariableScope.html