[rules-users] Retrieve the rule name from the LHS of a rule

Wolfgang Laun wolfgang.laun at gmail.com
Sat Feb 20 02:31:39 EST 2010


This is impossible to have in a Rete based RBS, because identical LHS
patterns typically result in a single node in the network. Hence,
there is, in general, no generic way of obtaining anything related to
"source code location" for any LHS expression.
-W

On Sat, Feb 20, 2010 at 8:11 AM, Malinda Kaushalye <kaushalye at yahoo.com> wrote:
> Hi All,
> How do I access the rule name from the LHS of a rule.
> drools.getRule().getName() works only in RHS.
> This issue has been raised earlier but there was no answer.
> http://www.mail-archive.com/user@drools.codehaus.org/msg01720.html
>
> Also I'd like to know the
> Cheers,
> Malinda
>
>
>
>
>
> _______________________________________________
> 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