On Wed, Dec 22, 2010 at 02:37:00PM +0100, Joeri Samson wrote: > On Wed, Dec 22, 2010 at 14:14, John Mettraux <[email protected]> wrote: > > > On Wed, Dec 22, 2010 at 11:25:58AM +0100, Joeri Samson wrote: > > > > > > I'm wondering how to use _when in my code. In the documentation it is > > said > > > that the blocking form of _when makes most sense when used inside a > > sequence > > > or cursor. This I get, if it was placed in a concurrence then it wouldn't > > > really changing much of the flow. What I do not understand however is how > > to > > > influence the evaluation of the conditions once the process is blocked on > > > the _when condition. I don't see how I could change a process variable or > > a > > > workflow item from outside. > > > > > Of course it's possible to place this sequence in a concurrent flow, but > > if > > > that's actually necessary it may be a good idea to clarify that in the > > > documentation. > > > > you could be observing a variable bound at the engine variable : > > Which won't really work in my case, because I have a resource per process, > not 1 shared resource for each of those processes. > A participant may be my best option at this point.
Sorry for the confusion, I was not referring to your use case in particular, but rather to your suggestion, that I interpreted as "please write down in the doc, that a _when always occur inside of a concurrence". I wanted to show that it is not necessarily the case. Best regards, -- John Mettraux - http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
