JBoss Community

Does jbpm email template support for-loop ?

created by Tun Mang in jBPM - View the full discussion

Hi :

 

Does jbpm email template support for (or while) loop (or something) like the following :

 

<mail-template name="mailtmpl-for-html">

    <from addresses="..." />

    <to   addresses="..." />
    <subject>test email : a task created: ${MailInfo.id}</subject>
    <html>
        <body bgcolor="#ffffff" text="#000000">
        <!-- a scripting language here to support multiple nested xml nodes rendering -->
        <!-- such as <li>, <td>, etc. -->
        <!-- info regarding how many xml nodes, type of sub nodes, etc, will be set in the object variable MailInfo.type, MailInfo.size, etc. -->
        </body>
    </html>
</mail-template>

 

 

Thanks a lot for your help.

Reply to this message by going to Community

Start a new discussion in jBPM at Community