[rules-users] [droolsflow] Code-based constraints for EventWait nodes - is this possible?
Alan.Gairey at tessella.com
Alan.Gairey at tessella.com
Thu Oct 22 05:58:02 EDT 2009
Can the constraint for an EventWait node in a flow be code-based (rather
than rule-based)? The Eclipse plug-in (v 5.0.1) doesn't allow this to be
specified, unlike say for a Split node, although the relevant XML can of
course be edited.
Trying to load such a process flow results in a NullPointerException,
because the constraint is always interpreted as a rule.
Ideally what I'd like to do is have an EventWait node where the constraint
tests the value of a process variable. This then leads me to another
question; is there a way of setting the value of a process variable via
the Drools Flow API?
Thanks in advance for any help,
Alan
Tessella plc
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS
E: Alan.Gairey at tessella.com, T: +44 (0)1235 555511, F: +44 (0)1235 553301
www.tessella.com Registered in England No. 1466429
This message is commercial in confidence and may be privileged. It is
intended for the addressee(s) only. Access to this message by anyone else
is unauthorized and strictly prohibited. If you have received this message
in error, please inform the sender immediately. Please note that messages
sent or received by the Tessella e-mail system may be monitored and stored
in an information retrieval system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091022/43ec0424/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 5066 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20091022/43ec0424/attachment.gif
More information about the rules-users
mailing list