Update job still busy

When you export a plan from PWB, it is a prerequisite that a previous update job is finished. If previous update job is still busy, a new export of the plan is not allowed.

The plan is exported to the INBOX and the BE update job is triggered using PMS100MI/TriggerUpdatJob.

The BE update job then updates BE based on the INBOX. To avoid two update jobs running at the same time, PWB validates that the previous update job is not running. If the BE update job is not finished, a message is displayed that the update job is not running.

You can clear previous update jobs from PWB, but you can only clear your own update jobs.

If your previous update job is stuck, you can clear the update job and restart PWB.

To clear the INBOX, go to Components > Data Transfer > Database Transfer then select Clear INBOX.

Update job still busy occurs more than once

Clear INBOX can occur, but this is not the standard situation. If the Update job still busy occurs regularly, you must investigate and fix the cause of the issue. Technically, you can add a Clear INBOX in the workflow before accepting the plan, which would clear any potential update job still running, but this will not fix the cause of the issue.

ION API OAuth2 credentials are created for each PWB user. The export is handled on a user level and you must not be linked to the same M3 BE user. If you are using the same ION API Oauth2 credential, you are exporting to the same INBOX. Therefore, you are blocking each other and this causes the Update job still busy situation.

The update job duration depends on the number of orders and operations that are exported to the INBOX and number of other jobs that are running on the server. If you are exporting, plan the sequence several times. You must complete the first update job before starting the next update job to avoid the Update job still busy situation.

The update job is triggered from PWB, but the update job is running in BE. You must analyze the update job in BE. PWB uses PMS100MI/GetUserJobSts to retrieve the status of the update job. To analyze the value received from the API, follow the steps in Managing data that is not imported.