Just remember that doing it this way alleviates the author of the rules from having to add that "book keeping" when creating new rules. This may not be a rule based solution, but it is a Drools solution :)

On Wed, Aug 19, 2009 at 10:42 AM, KDR <dr.soprano@neverbox.com> wrote:

Thank you Dave. I had a look, but it seems I'd still have to track it and
process the results in Java rather than using rules, so I guess I'll stick
with my original Java solution. Unless there's some way to track it in
Drools?
Cheers



dave sinclair wrote:
>
> Take a look at the *AgendaEventListener*. It allows you to get callbacks
> for
> when a rule has fired. This would allow you to keep track of which rules
> fire along with the objects that caused it to fire.
>

--
View this message in context: http://www.nabble.com/Collecting---sorting-by-the-number-of-matches-tp25039921p25045478.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users