[jboss-user] [jBPM] New message: "Re: running decision node(jbpm 4.0) multiple times for single processInstance"

Maciej Swiderski do-not-reply at jboss.com
Tue Mar 2 02:35:08 EST 2010

User development,

A new message was posted in the thread "running decision node(jbpm 4.0) multiple times for single processInstance":


Author  : Maciej Swiderski
Profile : http://community.jboss.org/people/swiderski.maciej

Perhaps you do not need to go through decision node many times, instead you could send mail to many recipients at once unless each mail is personalized for particular student?!
If your use case requires personalized email to be sent you could achieve it by using additional decision point after mail node to check if there are more emails in the queue. You can use event listener on mail node (on end) to inspect if there are any more emails to be sent. If there are waiting messages to be sent you navigate back to mail node if not go on to end state.


To reply to this message visit the message page: http://community.jboss.org/message/529269#529269

More information about the jboss-user mailing list