11-25-2020 06:51 AM
I have a pipeline that uses the script snap and has java script in it. I use the .plusMinutes() which has been working fine for over a year, but now I am getting the following error message. “label=Script, failure=TypeError: pi.plusMinutes is not a function, reason=Script failed with the following error: TypeError: pi.plusMinutes is not a function”.
I am importing the following:
// Import the Java utility classes.
importPackage(java.util);
importPackage(java.math);
importPackage(org.joda.time);