[rules-users] Checking boolean conditions without eval()

f.cima f.cima at yahoo.it
Tue Jan 19 07:49:54 EST 2010


Hi everyone
I'm working with drools 5 and decision tables.
I want to test some boolean condition.
I manage to do so using eval, for example:

CONDITION
Message
eval(message.equals("Hello") == $param)

and param could be true, false or empty.

I would like to do the same thing without using eval, because "eval is evil"
and I have a lot of boolean condition in my application. Is it possible?

Regards
Fabiano
-- 
View this message in context: http://n3.nabble.com/Checking-boolean-conditions-without-eval-tp130066p130066.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list