[jboss-user] [jBPM] - MultipleInstances Task ends entire workflow

davesomebody do-not-reply at jboss.com
Wed Jul 13 18:24:15 EDT 2011

davesomebody [http://community.jboss.org/people/davesomebody] created the discussion

"MultipleInstances Task ends entire workflow"

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


I have been puzzling through some confusing behavior experienced in jBPM 5.1 which I did not see in jBPM 5.0.

Specifically what I see is when the first iteration of a Multiple Instances task hits the end node in the multiple instances sub-flow the entire process is terminated.

I have verified this from stepping through the debugger and instrumenting my session with a listener to see which tasks are triggered, terminated etc.  What I see is a single iteration through the sub-flow in the mulitple instances graph followed by each subsequent iteration triggering but the process terminating before the other iterations even get started down their path.

I'm not setting up the flow any different than I would have in jBPM 5.0.

Also, in jBPM 5.0 I noticed that Custom Tasks did not behave properly in jBPM 5.0, worked around by using a re-usable subflow task.  When stepping through in the debugger I see that subsequent iterations through the sub-flow seem to thing the custom task has triggered already.  Anybody know if this has been addressed in 5.1?

Still a big supporter!


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110713/1b16e45e/attachment-0001.html 

More information about the jboss-user mailing list