User development,
A new message was posted in the thread "running decision node(jbpm 4.0) multiple
times for single processInstance":
http://community.jboss.org/message/529269#529269
Author : Maciej Swiderski
Profile :
http://community.jboss.org/people/swiderski.maciej
Message:
--------------------------------------------------------------
Hi,
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.
HTH
Maciej
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/529269#529269