The best way to see what goes on w.r.t. matches (the correct term would be "activation") and firings is to install an implementation of org.drools.event.rule.AgendaEventListener as a listener using method addEventListener() of StatefulKnowledgeSession.

-W

org.drools.event.rule
Interface AgendaEventListener




2010/12/29 Shobhit1 T <shobhit1.t@tcs.com>
Hi,

I want to know which of the fired rules was matched. Is there a way to find that out or return a value from drl to java file that can indicate which rule was matched?

Thanks


Shobhit
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



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