Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Unable to get current rule name in groovy — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to get current rule name in groovy

Accepted answer


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):


Code Snippet (add any code snippets that support your topic, if applicable):

both fail:

println currentRule.name

println currentRule.getName

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!