I am a newbie but I can suggest you see the AgendaEventListener. I didn't understand what you want but you can those listeners on the working memory.

Date: Thu, 10 Apr 2008 14:55:09 -0500
From: bolson@lifetouch.com
To: rules-users@lists.jboss.org
Subject: [rules-users] FW: Rule match count?

 

Hi,

 

Does anyone know of a way to know when the rules are fired against working memory, if it is possible to know how many rules matched?  I want to use Drools for coupons in a pricing application.  If I don’t match any coupons (in my rules file), I’d like to know so I can use a default one.

 

Any insight is appreciated.

 

 

Brian

 

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I'm

Discutez gratuitement avec vos amis en vidéo ! Téléchargez Messenger, c'est gratuit !