There is an drools instance, which implements KnowledgeHelper. So you
can do drools.getRule() in the consequence.
Mark
Jin, Ming wrote:
Is there a way in rule definition, especially at RHS to get the name
of
the rule? I need to return the name of the rule with data object for
logging purpose.
I understand that ActivationEvent could be used to achieve this goal. I
just need to know whether it could be done in DRL.
Your help is greatly appreciated.
-Ming
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users