<br><font size=2 face="sans-serif">You can access it with the following:</font>
<br><font size=2 face="sans-serif">drools.getRule().getName()</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Irving Reid&quot;
&lt;irving@cfrq.net&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: rules-users-bounces@lists.jboss.org</font>
<p><font size=1 face="sans-serif">09/13/2007 08:34 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Rules Users List &lt;rules-users@lists.jboss.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">&lt;rules-users@lists.jboss.org&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[rules-users] Is there a
way to get the rule name in the RHS?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>I'd like to record which rule executed to update an
object. I know that I could add code to the RHS to explicitly set a hard-coded
rule identifier into the action, but I was wondering if there was a way
to take advantage of the rule name, since it's already there.<br>
<br>
 - irving -<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
https://lists.jboss.org/mailman/listinfo/rules-users<br>
<br>
</tt></font>
<br>