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)
Thanks
G. Patel
From:
Mauricio Salatino <salaboy@gmail.com>
To:
Rules Users List <rules-users@lists.jboss.org>
Date:
10/24/2011 01:24 PM
Subject:
Re: [rules-users]
Printing rule content when a rule is fired
Sent by:
rules-users-bounces@lists.jboss.org
If you can get the name from the 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.
Cheers
2011/10/24 <GPatel@tsys.com>
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)
Thanks
G. Patel -----------------------------------------
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
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jugargentina.org
- Co-Founder @ http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users