2010/8/2 Georg Maier <Georg.Maier@cjt.de>

Hi,

 

is there a way to observe (during runtime) when Drools evaluates the condition of which rule, meaning when it “tries” to activate a rule?

No. Evaluation does not happen rule. - The closest you can come to that is by using a KnowledgeRuntimeLogger which will show you activations as they are created and deleted or fired.

I’m having a bug in my program and I can’t determine whether objects are out of sync, there is a mistake in my rule or (and I started believing in that) that the rule is actually not re-evaluated, so this would be a great help for debugging.

 

Sometimes such an effect is also due to an activation being retracted due to some change occurring elsewhere.

-W
 

Thanks in advance!

 

Georg


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