That&#39;s right Leandro, using an AgendaEventListener is much more elegant!<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">2010/10/7 Leandro Romero <span dir="ltr">&lt;<a href="mailto:leandro.s.romero@gmail.com">leandro.s.romero@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I am not 100% sure, but in my opinion an elegant way to do it would be to create a class that extends from DefaultAgendaEventListener and then override the &quot;afterActivationFired&quot; method.<br><br>If you are using that fact in another rule and you want it to be updated, you have to call &quot;update($d)&quot; or you can modify $d inside a modify block.<br>



<br><br>
<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>
<br></blockquote></div><br></div>