Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22041

Workunit fails if notify called after SOAP call

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4.38
    • Fix Version/s: 7.2.22
    • Component/s: Code Generator
    • Labels:
      None

      Description

      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:
      Failure: W20190430-112304
      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?

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              james.wilson James Wilson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: