[rules-users] comparison of two variables on same object, JBoss Rules 3.0.6
Wagner Rick - rwagne
Rick.Wagner at acxiom.com
Thu Jun 7 15:38:31 EDT 2007
Edson,
Thanks much, but regrettably I'm a 3.0.6 user for now. Can you offer
any tips for that version?
(Sorry to be backward looking-- I'll upgrade!)
Thanks,
Rick
>Assuming you are using 4.0, just bind one and compare to the other:
>
>rule XXX
>when
> Tree( $new : newNumberLeaves, oldNumberLeaves > $new )
>then
> // do something
>end
*************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.
If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
Thank you.
*************************************************************************
More information about the rules-users
mailing list