<font size=2 face="sans-serif">I wish the Rule definition gave more detail
than just a rule name, package name and metadata, or there was some way
through the KBase api to get to it. Seems like I will need the to fetch
the rule content from guvnor via REST (via some sort of timestamp versioning
of my own)</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br><font size=2 face="sans-serif">G. Patel</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Mauricio Salatino &lt;salaboy@gmail.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Rules Users List &lt;rules-users@lists.jboss.org&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">10/24/2011 01:24 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [rules-users]
Printing rule content when a rule is fired</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">rules-users-bounces@lists.jboss.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>If you can get the name from the&nbsp;AfterActivationFiredEvent,
you can search in the DRL file for that content right? I don'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't save the DRL file inside it, it just
get the LHS of the rules to build the RETE tree.</font>
<br>
<br><font size=3 face="sans-serif">Cheers</font><font size=3><br>
</font>
<br><font size=3>2011/10/24 &lt;</font><a href=mailto:GPatel@tsys.com><font size=3 color=blue><u>GPatel@tsys.com</u></font></a><font size=3>&gt;</font>
<br><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><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Thanks</font><font size=3> </font><font size=2 face="sans-serif"><br>
G. Patel</font><font size=3> -----------------------------------------
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</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
</font>
<br><font size=3><br>
</font>
<br>
<br><font size=3>-- <br>
&nbsp;- CTO @ </font><a href=http://www.plugtree.com/ target=_blank><font size=3 color=blue><u>http://www.plugtree.com</u></font></a><font size=3>&nbsp;
<br>
&nbsp;- MyJourney @ </font><a href=http://salaboy.wordpress.com/ target=_blank><font size=3 color=blue><u>http://salaboy.wordpress.com</u></font></a>
<br><font size=3>- Co-Founder @ </font><a href=http://www.jugargentina.org/ target=_blank><font size=3 color=blue><u>http://www.jugargentina.org</u></font></a><font size=3><br>
&nbsp;- Co-Founder @ </font><a href=http://www.jbug.com.ar/ target=_blank><font size=3 color=blue><u>http://www.jbug.com.ar</u></font></a><font size=3><br>
&nbsp;<br>
&nbsp;- Salatino &quot;Salaboy&quot; Mauricio -</font>
<br><tt><font size=2>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size=2><br>
</font></tt>
<br>