Here's a good one. So, deployed a SuiteApp that contains some schedule scripts. A new version is built. Attempt to update the SuiteApp. If a schedule script is running at that time. FAIL. Further, if the user attempts to uninstall the SuiteApp, and a schedule script is running ... FAIL. Ok, I understand why. Now, how to guard against it, or cancel the running scripts, etc. Did bundles behave this way?
c
creece
12/09/2022, 8:08 PM
Never heard of this happening w/ a bundle. It makes sense though.
creece
12/09/2022, 8:08 PM
wonder if thats true for ANY running script.. scheduled/mr etc..
d
darrenhillconsulting
12/09/2022, 8:43 PM
Ya, makes sense. It just opens up a ton of questions like ... for a 'Managed' SuiteApp ... it would be impossible to coordinate with all the customer to ensure no queue-able scripts are running
c
creece
12/09/2022, 8:59 PM
Yeah thats why i was curious about "any" script. You'd think it would wait for any associated scripts to finish and then allow the update and then resume it but maybe its not that smart.
d
darrenhillconsulting
12/12/2022, 1:48 PM
Or maybe a message of some description. We only got an Error Reference code. No logs. So, we spent over a week with NetSuite support to find this out.