[jboss-user] [jBPM] - Re: Joining of non-concurrent decision paths seems to be broken in 4.4

Peter Horvath do-not-reply at jboss.com
Thu Sep 9 14:05:04 EDT 2010


Peter Horvath [http://community.jboss.org/people/h.peter] created the discussion

"Re: Joining of non-concurrent decision paths seems to be broken in 4.4"

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

--------------------------------------------------------------
Hi Maciej,

Sorry for the delay, I've been really busy.

This is an interesting idea and I believe that internally it could work like that. But assuming there is a way you can always deciede wheter to set this flag or not, I think the engine should be responsible for doing that - having to "hint" it if the concurrent executions have to be ended or not does not seem to be the way it should work.

Basically the question is that if there is any algorithm you can use to figure out whether the concurrent executions should be ended or not. I believe the answer is yes: my understanding is that this error happens if you have more join nodes than fork nodes on the path of the current execution. In that case jBPM could simply traverse the graph of the execution to check the number of fork and join nodes hit so far and set this flag accordingly which then could drive the decision whether the concurrent executions are to be ended or not.

Let me know what you think about this approach
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/561147#561147]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


More information about the jboss-user mailing list