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.
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