We have a build that broadcasts an event at the end of the workunit. Normally it works fine, however we've put something in to the job such that if it's run on the last day of the month it starts another workunit via a SOAP call. When this is submitted on the last day of a month it fails with "Cannot call function donotify in a non-global context".
Sample workunits on UK Prod Thor:
Success (previous day, same code): W20190429-112302
I've got it to run today by moving the notification from the return statement to the success block: W20190430-123834
We can make this change permanently, but I'm interested to know why the failure occurs. Is it an issue with our ECL or with the platform?