AnsweredAssumed Answered

Pass values to activiti bpmn xml file from spring boot file.

Question asked by raghureddy on Mar 23, 2018
Latest reply on Mar 23, 2018 by raghureddy



Is there any way to pass external properties to process bpmn file with spring boot from file.

Example : 


<activiti:field name="from">

I am trying to pass the recipient value from file in spring boot application.

I tried with java delegate and expression .


I have passed value to process using process variables but I dont want recipient email address to be passed in process variables or to be persisted to DB.


Is there any way we can pass the recipient variable value to process bpmn file without persisting or as process variable to the process.


I see the following exception 

org.activiti.engine.ActivitiException: Unknown property used in expression: Error task has been created in ${recipient}.