Groovy Calc script calling REST api fails when scheduled as Planning job
Summary:
I have written a groovy script that runs as a part of a larger rule set. The groovy script has a rest api call that executes a pipeline having a data integration.
When I run the ruleset manually, it runs perfectly fine, but when run as a scheduled job, it fails to execute the groovy script with the error : An unknown error occurred when executing the script.
Do note that there are several check comments added in the groovy script, but when it fails, it does not print any of the messages except the above, as if the script failed at the first line itself.
Tagged:
0