You can access it with the following:
drools.getRule().getName()
| "Irving Reid"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 09/13/2007 08:34 PM
|
|
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.
- irving -
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
