you can also add an extra property to your facts to check and add condition to check that property. (like a processed flag)<div><br></div><div>Greetings<br><div><div><br><br><div class="gmail_quote">2010/7/13 Leonardo Gomes <span dir="ltr">&lt;<a href="mailto:leonardo.f.gomes@gmail.com" target="_blank">leonardo.f.gomes@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Droolers,<br><br>I&#39;m trying to avoid loops and looking at different possibilities (no-loop, activation-group, lock-on-active, etc.).<br>

<br>&gt;Scenario I want to avoid:<br><br>For example, the initial facts trigger *rule 1*, which inserts new facts that will trigger *rule 2*, which will then insert facts that would re-trigger *rule 1*.<br>

<br>&gt;Possibilities I tried:<br><br>no-loop -&gt; just prevents the re-activation of the same rule<br>lock-on-active -&gt; I can&#39;t know which rules should have lock-on-active set to true, since I don&#39;t know what will be the initial facts.<br>


<br>
&gt;What I&#39;m trying to achieve:<br><br>All rules in my rule set should execute only
 once. So, a rule inserts new facts only rules that haven&#39;t executed so far, should be activated.<br><br>Is there a way to do that, let&#39;s say &#39;out-of-the-box&#39;, with DRL?<br><br>Thank you,<br>Leo.<br><br><br>


<br><br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br></blockquote></div><br><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>

 - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -<br>
</div>
</div></div>