Hi,
I have a rule

rule "rule 1"
when
   Cheese(color.trim == "yellow")
then
   System.out.println("hmm.. its yellow");

will raise :

 org.drools.spi.ConsequenceException: org.drools.RuntimeDroolsException:
Exception executing predicate
[EMAIL PROTECTED]

I suspect it's because of the "trim" function. Does it allowed ? Is there
any alternative ?
I need this function because "Cheese" is loaded from database, and all the
fields comes with space trailing.
Thanks
-- 
View this message in context: 
http://www.nabble.com/Using-trim-in-LHS-cause-%22Exception-executing-predicate...%22-tp16269155p16269155.html
Sent from the drools - user mailing list archive at Nabble.com.

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

Reply via email to