[jboss-user] [jBPM Development] - SubProcess signaling issue

Maciej Swiderski do-not-reply at jboss.com
Thu May 27 03:32:40 EDT 2010

Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion

"SubProcess signaling issue"

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

you mean that when we enter sub process the main process should be in state inactive-scope?

If so, I am afraid it won't work as expected, I really liked the idea though.
The reason of this is if you mark main execution as inactive-scope when sub process activity is executed then automatic signal after sub process ends will fail since checkActive is executed in end activity which is prior to signal of sub process activity.
Of course end activity code can be modified as well but I don't think it is a good idea.

In my opinion engine should prevent of signaling main process while sub process is active, otherwise we could end up in really weird situations where some of the executions are left and main process is finished.


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/20100527/6a9a5234/attachment.html 

More information about the jboss-user mailing list