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

Visit Redwood Community
Issue with Groovy Rule — 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

Issue with Groovy Rule

Received Response
31
Views
6
Comments

Summary:

The requirement is to transfer the data from one department to another and if in the target department entered headcount is more than available headcount in source department then the form should not allow SAVE.

Have written the groovy script and attached it to the form "Run before save". while saving the form it is giving me the below error :

"A method called by the script failed on line: 1, with error: An error occurred while processing this page."

Kindly help to resolve this issue.


Thanks in advance.

Content (required):


Version (include the version you are using, if applicable):


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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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