[rules-users] Rule id / Rule name

esteban.aliverti at gmail.com esteban.aliverti at gmail.com
Thu Oct 7 14:11:59 EDT 2010


That's right Leandro, using an AgendaEventListener is much more elegant!

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2010/10/7 Leandro Romero <leandro.s.romero at gmail.com>

> 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 "afterActivationFired" method.
>
> If you are using that fact in another rule and you want it to be updated,
> you have to call "update($d)" or you can modify $d inside a modify block.
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101007/e2d69498/attachment.html 


More information about the rules-users mailing list