Option like DelegateVariableMapping


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

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.