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: [email protected], 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.

<<image/gif>>

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to