Aborting a Running Outbound Sync Cron Job

If there are outbound sync configuration errors or other issues, you can prevent items in progress from sending to the outbound destination.

Context

When an outbound sync cron job runs, its status is RUNNING. Unless you abort the running job, it continues to attempt to synchronize all items, after which, the job status changes to FINISHED. When you abort a job, it finishes the changes already in process, then skips all other changed items in the job queue. The job status changes to ABORTED. Whether the cron job finishes or aborts, one of the following job results is possible:

  • SUCCESS - No changes were detected or one or more changed items synchronized successfully with no errors.

  • ERROR:
    • One or more item changes failed to synchronize with the destination system.
    • (For Integration Objects containing virtual attributes) one or more items failed with an IntegrationAttributeProcessingException or any other RuntimeException besides the IntegrationAttributeException. The job continued to process other items. Only changes for the failed item(s) were not consumed and retries were created for the failed items.
  • FAILURE:
    • One or more item changes failed.
    • (For Integration Objects containing virtual attributes) one or more item changes failed with an IntegrationAttributeException. The changes for the failed item(s) and the subsequent items were not consumed. Retries were not created or counted for failed or unprocessed items.
  • SYSTEM_ERROR:
    • The job failed due to misconfiguration or another error.
    • (For Integration Objects containing virtual attributes) the retrieval script is missing.
  • UNKNOWN - The job aborted immediately after starting before any changes were processed.

When a cron job runs, the abort button enables. To abort an outbound sync cron job:

Procedure

  1. In the Integration UI Tool view Backoffice, select Start of the navigation pathOutbound Sync Next navigation step Scheduling Next navigation step CronJobsEnd of the navigation path.
  2. Select the running cron job and select abort.

Results

When you abort a cron job, the job finishes processing changes that are in progress but skips all changed items waiting in the queue. The Current Status field changes to Aborted.