you can insert a control object in the first rule that it&#39;s activated and fired and add another restriction to the rest of the rules, using that control object.<br><br>Greetings<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 5:06 PM, madchen <span dir="ltr">&lt;<a href="mailto:k.cheung@accenture.com">k.cheung@accenture.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Hi,<br>
<br>
According to my understanding of Drools Flow, when you insert an object into<br>
drools, it tries to match it against all the existing rules and every rule,<br>
for which the &#39;When&#39; clause conditions are met, becomes activated.<br>
<br>
I was wondering if it was possible, that when an object is inserted into<br>
drools, drools stops trying to match that object against the rules once the<br>
first rule is activated. Or in other words, drools would go through the list<br>
of rules comparing the object with the &#39;When&#39; clause conditions and then<br>
when it finds a rule that matches, it stops going through the rest of the<br>
rules for that object.<br>
<br>
Thanks!<br>
Kevin<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Drools-Flow-Skipping-some-LHS-evaluations-at-time-of-insert-tp704324p704324.html" target="_blank">http://n3.nabble.com/Drools-Flow-Skipping-some-LHS-evaluations-at-time-of-insert-tp704324p704324.html</a><br>

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>
</font></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>