Sending email using flowable workflow engine

Posted on

Integrating Email task in Flowable. If doing from flowable-UI follow this.

Alt Text

Once you are done with the filing To, From, Html/HtmlVar, etc,. Configure the email server configuration in your spring application.

# email config
Enter fullscreen mode

Exit fullscreen mode

In case you want to add the email task manually paste this node to your workflow bpmn file.

<serviceTask id="RejectionEmail" name="Rejection Email" flowable:type="mail">
        <flowable:field name="to">
        <flowable:field name="subject">
        <flowable:field name="html">
          <flowable:string><![CDATA[<a href="">Rejection reason</a>
<input type="textarea">Dummy Message</input>]]></flowable:string>
Enter fullscreen mode

Exit fullscreen mode

Code On!

Originally posted on Bitsmonkey

Leave a Reply

Your email address will not be published. Required fields are marked *