Validating Groovy Scripts
Validate Groovy business rule scripts to ensure that your application's Groovy scripts can pass the stricter validation rules.
As you migrate to an upgraded version of Groovy, you might encounter certain issues that need to be addressed. A program called the Groovy Script Validator aids in finding the rules that need to be adjusted and provides a report so you can fix any issues.
Note:
The Groovy Script Validator is only available only when your application contains user-created Groovy business rules.
To validate Groovy scripts:
-
Sign into the application as a Service Administrator.
-
From the Home page, select Application, and then Overview.
-
Click Actions, and then select Groovy Script Validator.
The Groovy Script Validator option is only available when your application contains user-created Groovy business rules.
After the program completes verification of the Groovy scripts, you can view the Groovy validation report and fix any errors it finds. If no errors are found, no additional action is required.
To view the Groovy validation report:
-
From the Home page, select Application, and then Jobs.
-
Under Recent Activity, click the Groovy validation report Job.
-
Next to Groovy Script Validator Report, click
(Download File).
-
Optionally, you can download the
GroovyValidationReport.html
file from the Inbox/Outbox Explorer by selecting Application, then Overview, click Actions, and then select Inbox/Outbox Explorer.
Note:
For a list of validation errors and recommended resolutions, see Resolving Groovy Business Rule Validation Issues in Designing with Calculation Manager.
To learn more about Groovy business rules, see Creating a Groovy Business Rule in Designing with Calculation Manager.