[rules-users] Need help with a simple predicate
swaroop
swaroop.oggu at gmail.com
Wed Jan 25 05:44:47 EST 2012
Hi,
Iam trying to upgrade to 5.3.1 final from Drools 5.1 during the process came
across an issue where a simple rule detailed below has an issue when
migrating with respect to the "grade contains("A") || grade contains("B") ||
grade contains("C")" part, This was working in Drools 5.1, any inputs as in
how to restructure this will be helpful
rule "Some - Definitions"
when
$comp : Company()
$emp:Employee(grade contains("A") || grade contains("B") || grade
contains("C"))
then
System.out.println("EMployee is an operations executive");
end
Thanks
Swaroop
--
View this message in context: http://drools.46999.n3.nabble.com/Need-help-with-a-simple-predicate-tp3687358p3687358.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list