You can use DefaultAgendaEventListener and afterActivationFired in your code
(not inside the rule) to get parameters that made the rule fire. Not sure if
it helped you but it works for me. This is what I use for my stateless
session
session.addEventListener( new DefaultAgendaEventListener() {
public void afterActivationFired(AfterActivationFiredEvent event,
WorkingMemory workingMemory) {
super.afterActivationFired( event, workingMemory );
logger.info( event );
}
});
--
View this message in context:
http://www.nabble.com/Is-it-possible-to-tell-what-condition-and-threshold...
Sent from the drools - user mailing list archive at
Nabble.com.