Unable to get current rule name in groovy
Summary:
Trying to get the name of the current rule in groovy. Getting generic error: Script failed on line: 522, with error: An error occurred while processing this page.
Content (required):
I can get the "currentRule" (also "rule" works). But cannot get any properties from it. Getting the generic error above. Anyone know why or have code that works?
Version (include the version you are using, if applicable):
PBCS
Code Snippet (add any code snippets that support your topic, if applicable):
both fail:
println currentRule.name
println currentRule.getName
Tagged:
0