[rules-users] DRL Question

Mark Proctor mproctor at codehaus.org
Thu Aug 9 16:02:18 EDT 2007


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>   




More information about the rules-users mailing list