If you can get the name from the <span class="Apple-style-span" style="font-family: sans-serif; ">AfterActivationFiredEvent, you can search in the DRL file for that content right? I don&#39;t know if there is a way to get the content from the knowledge base, because as far as I know the knowledge base don&#39;t save the DRL file inside it, it just get the LHS of the rules to build the RETE tree.</span><div>
<font class="Apple-style-span" face="sans-serif"><br></font></div><div><font class="Apple-style-span" face="sans-serif">Cheers<br></font><br><div class="gmail_quote">2011/10/24  <span dir="ltr">&lt;<a href="mailto:GPatel@tsys.com">GPatel@tsys.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font size="2" face="sans-serif">Is is possible to get textual rule content
from org.drools.definition.rule.Rule? What I am looking to do is get the
rule definition (the when/then part) when a rule fires (i.e on AfterActivationFiredEvent)
</font>
<br>
<br><font size="2" face="sans-serif">Thanks</font>
<br><font size="2" face="sans-serif">G. Patel</font>

-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you <br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br> - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><div>
- Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br> - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div>
<br>
</div>