[jboss-user] [jBPM Development] - Mail template for custom MailProducer

Kevin Moodley do-not-reply at jboss.com
Tue Apr 20 23:07:02 EDT 2010

Kevin Moodley [http://community.jboss.org/people/kevinmoodley] replied to the discussion

"Mail template for custom MailProducer"

To view the discussion, visit: http://community.jboss.org/message/538618#538618


Thanks for looking into this.

Will the field tag work inside a notification tag in a task?

    <task assignee="kmoodley" g="210,250,92,52" name="User Review">
       <notification class="com.kevinmoodley.bpm.mail.CustomMailProducer">
            <field name="templateName"> <string value="test-template"/></field>
       <transition g="-42,-18" name="CANCEL" to="end1"/>
        <transition g="-42,-18" name="RESTART" to="end2"/>

I know that the xsd does not support it, but then again the class attribute in <notification> is not is the xsd either. 

By the way, most user only create create a custom MailProducer to bypass the requirement of the default MailProducerImpl that mail recepients  need to exist in the Indentity tables.

List<User> users = identitySession.findUsersById(userIds);

Don't quite understand that, especially if I want the workflow to trigger an email to an external customer.

Anyway, this is not a serious issue. Moving back to the User forum now.


Reply to this message by going to Community

Start a new discussion in jBPM Development at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100420/d7d4100d/attachment.html 

More information about the jboss-user mailing list