Hi
Is there any way to pass external properties to process bpmn file with spring boot from application.properties file.
Example :
<activiti:field name="from">
<activiti:string><![CDATA[${recipient}@gmail.com]]></activiti:string>
</activiti:field>
I am trying to pass the recipient value from application.properties 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}.