Strange... Does the rule at least get activated? I have used lock-on-active before and it worked as expected. At that time I was not using any explicit agenda group, so I also had just 1 agenda group.<div><br></div><div>Best Regards, <br clear="all">

<br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 10:16 AM, Zhao Yi <span dir="ltr">&lt;<a href="mailto:zhaoyi0113@gmail.com">zhaoyi0113@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

when I put lock-on-active, the rule will never fire if there is only one<br>
agenda group in a stateful session.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-let-a-rule-run-only-one-time-tp3550555p3563828.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-let-a-rule-run-only-one-time-tp3550555p3563828.html</a><br>


</font></span><div class="HOEnZb"><div class="h5">Sent from the Drools: User forum 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></div>