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
Tagged:
0