<div>    The only way to prevent parts of a rule of being evaluated is to use control facts:</div><div><br></div><div>when</div><div>    SomeControlFact( someCondition == true )</div>    eval( ..someHeavyEvaluation... )<div>
then</div><div> </div><div>    In the above case, the eval will only be evaluated when the control fact matches. </div><div><br></div><div>    Another way of doing it is moving your expensive &quot;calculation&quot; to the consequence of a rule and inserting the result as a fact. This way you have control of when it is executed.</div>
<div><br></div><div>    []s</div><div>    Edson<br><div><br><div class="gmail_quote">2010/7/16 mmarmol <span dir="ltr">&lt;<a href="mailto:marcelo.marmol@gmail.com">marcelo.marmol@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I understand that, what i would like to do is to avoid evaluation of some<br>
rules at some point, for example just make the engine evaluate rules from<br>
one group, and treat the others as they don&#39;t even exists. So it wont be an<br>
Agenda Group or RuleFlow group for what i have seen.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-to-chose-witch-rules-are-going-to-be-evaluated-tp973388p973464.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-to-chose-witch-rules-are-going-to-be-evaluated-tp973388p973464.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div></div>