[jboss-user] [jBPM] - Re: jPBM 5.1, persistent processes get finished without regard to session
Maciej Swiderski
do-not-reply at jboss.com
Tue Sep 27 00:23:46 EDT 2011
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: jPBM 5.1, persistent processes get finished without regard to session"
To view the discussion, visit: http://community.jboss.org/message/628682#628682
--------------------------------------------------------------
Jordi, Miljenko, this was exactly what I meant by having a more detailed discussion ;)
In my opinion it all comes down to the requirement you have for a particular case. I can see that both of you have similar situations to deal with but I can find number of examples where the default behavior (signal all process instances regardless of the session) can be beneficial. For instance, bank would like to notify all customers that are currently in loan process that terms and conditions of the loan has changed, so if every customer that is tring to get a loan, has started a process and by that mean has its own session to controll the process system would need to find all sessions and then signal it one by one which would not be so nice.
But as already could be seen the other side of that case is also quite common. Question is on what level shat that be configured? And if variable scopes are not useful here? I mean perhaps by inserting process variables instead of facts would make sense or not? It could be acceptable if only the process is going to use that piece of data.
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/628682#628682]
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/20110927/e4e69f72/attachment.html
More information about the jboss-user
mailing list