Prevent auto termination of scheduled publish workflow

Description

Environment

Adobe Experience Manager as a Cloud Service

Issue/Symptoms

How to prevent auto termination of scheduled publish workflow if the assets in the payload are manually published?

Steps to replicate

  1. Select any page in AEM Sites which has unpublished assets (images).
  2. Click Manage Publication.
  3. Select Later » Select a future date
  4. Click Next » Select the page
  5. Click Next » Enter workflow title (Eg : Publish later)
  6. Now Go to Tools » Workflow » Instances
  7. You can find the job which you have scheduled to activate later with the title “Publish Later”.
  8. Select the Job » Click Payload
  9. A new tab will be opened in which you will find the Page and Assets that are scheduled for activation.
  10. Now manually activate the asset present in the payload
  11. Now go to Tools » Workflow » Archives
  12. You should notice that the “Scheduled workflow” (Publish later) job will be in Aborted state.

Resolution

To disable auto termination of scheduled publish please “uncheck” the option “Terminate on published” option under “Day CQ WCM Workflow Service” in OSGi configuration (refer to screenshot).

On this page