Joel,
This is the correct syntax and it works (at least we didn't get a
report for it not working yet):
Object(variable == Constants.value)
Can you please elaborate about the problem you are having in order
for us to help solving it? If it is a bug we need to fix.
Thank you,
Edson
Joel G. Rivera-González wrote:
most (if not all) of my rules will have conditions like this:
Object(variable == Constants.value)
this is not working...
BUT if i change the Constants.value to corresponding value from the
constants class it will work...
is there any other way other than this Object(a:variable->
(a.equals(Constants.value)) to do it?
Joel G. Rivera-Gonzalez
PRT
"The first 90% of a project takes 90% of the time, the last 10% takes
the other 90% of the time" - Murphy's Law
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com