Instead of hardcoding the value of formName in the task extension property of modeler, I need to place the formName value as a variable(e.g., ${formname}).

Does formsflow support setting user task extension value as a variable?
89 views Asked by Auslin At
1
This is implemented in one of our listeners i.e;
FormConnectorListenerto get the extension property value in dynamic. Please refer https://github.com/AOT-Technologies/forms-flow-ai/blob/master/forms-flow-bpm/src/main/java/org/camunda/bpm/extension/hooks/listeners/task/FormConnectorListener.javaYou can add a java listener that should implement
org.camunda.bpm.engine.delegate.JavaDelegateand can access the extension property with the general xml api.In the above overriden method you can get the variable by using: