<div class="gmail_quote">
<div><font face="verdana,sans-serif">Hello All,</font></div>
<div><font face="Verdana"></font> </div>
<div><font face="verdana,sans-serif">From the Expert documentation, I am trying to create the rule(below) in Guvnor</font></div>
<div>
<div><font face="verdana,sans-serif">Guvnor Version : 5.1.1</font></div></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="Verdana">I am not able to achieve the combination of NOT & FROM in a business rule.</font></div>
<div><font face="Verdana"><strong>Is it possible to create the below drl rule into a brl rule in Guvnor?</strong></font></div>
<div><font face="Verdana"></font> </div>
<div><font face="verdana,sans-serif">------------------------------------------------------------------------------------</font></div>
<div><font face="verdana,sans-serif">package org.drools;<br><br>rule "Avoid NPE on wrong syntax"<br> when<br> <strong>not</strong>( Cheese( ( type == "stilton" && price == 10 ) || ( type == "brie" && price == 15 ) ) <strong>from</strong> $cheeseList )<br>
then<br> System.out.println("OK");<br>end</font></div>
<div><font face="verdana,sans-serif">------------------------------------------------------------------------------------</font></div>
<div> </div></div><br>