I have confirmed this problem. The same thing happens for exists (The following exists) and () (Any of the following are true). Could you please create a jira issue for this?p.s.: Please try to wait at least a week before re-post a question :)
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
2011/1/17 Harshit Bapna <hrbapna@gmail.com>
_______________________________________________Hello All,From the Expert documentation, I am trying to create the rule(below) in GuvnorGuvnor Version : 5.1.1I am not able to achieve the combination of NOT & FROM in a business rule.Is it possible to create the below drl rule into a brl rule in Guvnor?------------------------------------------------------------------------------------package org.drools;
rule "Avoid NPE on wrong syntax"
when
not( Cheese( ( type == "stilton" && price == 10 ) || ( type == "brie" && price == 15 ) ) from $cheeseList )
then
System.out.println("OK");
end------------------------------------------------------------------------------------
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users