Hello,

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.

The reason I ask this is that I have to wait until a certain resource
changes state from undecided to either won or lost. This has to be
controlled at the end of the workflow, but it may not change immediately,
else I could use _if. I could of course have a participant listen to that
event (and in fact that may be easier to reuse), but my first inclination
was to think that _when was a natural fit for what I wanted.
I suppose I could still use _when if I made the test expression ruby code,
but that seems overkill.

Kr,
Joeri

-- 
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

Reply via email to