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

Intermittent error for groovy script - An unknown error occurred when executing the script.

Summary:

Intermittent error for groovy script - An unknown error occurred when executing the script.

Content (please ensure you mask any confidential information):

We are encountering the error "An unknown error occurred when executing the script." with our Groovy script. This error appears suddenly and without any identifiable cause / pattern. No idea on how to debug the same.

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

25.01

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

String fileName = rtps.FileName.toString()

String periodFile =rtps.FileName.toString().split("_")[3]
String daytorun = periodFile.substring(0,5)+"-FY"+ periodFile.substring(7,9)

String startPeriod = daytorun

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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