[rules-users] How do know which rule has fired

Anstis, Michael (M.) manstis1 at ford.com
Thu Jun 21 09:00:55 EDT 2007


IMO, you'll probably be best using a
org.drools.audit.WorkingMemoryLogger.

You can then use the afterActivation event to get an Activation and
related rule.

I haven't used this myself but the (3.0.6) API looks like it'll do what
you want.

Cheers,

Mike 

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of kingston
Sent: 21 June 2007 13:46
To: rules-users at lists.jboss.org
Subject: [rules-users] How do know which rule has fired



Hi 

Is there any API Method that would give me the names of the rules that
has
fired or that has not fired.?
Do i need to use Sysouts or use some dummy objects to know which rules
have
fired? 

Thanks,
kingston.
-- 
View this message in context:
http://www.nabble.com/How-do-know-which-rule-has-fired-tf3958506.html#a1
1232322
Sent from the drools - user mailing list archive at Nabble.com.

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




More information about the rules-users mailing list