Prevent auto termination of scheduled publish workflow

This article provides guidance on preventing the automatic termination of scheduled publish workflows in AEM as a Cloud Service when assets in the payload are manually published.

Description 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 (E.g.: Publish later)
  6. Now Go to Tools » Workflow » Instances
  7. You can find the job 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 an Aborted state.

Resolution 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).

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f