2 Replies Latest reply on Feb 22, 2017 5:05 AM by irs

    populate the email workitem handler using properties

    irs

      Hello All,

       

      I have created business process using the jbpm workbench and I am able to deploy and execute the process successfully.

       

      Now I want to do some changes in the deployment-descriptor.xml file of my workbench project, I want to populate the Email workitem Handler values using properties file. As for now I am statically passing the mail  configuration values, I want those values to be populated from a properties files as below.

       

      Eg:-

      <work-item-handler>

           <resolver>mvel</resolver>

           <identifier> new org.jbpm.process.workitem.email.EmailWorkItemHandler(smtp-properties,port-properties,username-properties,password-properties) </identifier>

           <parameters/>

           <name>Email</name>

      </work-item-handler>

       

      Thanks & Regards,