Scheduling AEM content for publishing or unpublishing in the future

Summary

This article discusses how to schedule a task in Adobe Experience Manager (AEM) to publish (activate) or unpublish (deactivate) content at a date and time in the future. 

Environment

LSA Unit Websites (AEM 6.x)

Directions

The procedure varies depending on which user interface you choose to use.

Using the Touch UI

In the newer, standard Touch UI perform the following steps:

  1. Go to the admin interface (https://author.lsa.umich.edu/sites.html/content/...).
  2. Navigate to the content page.
  3. Single-click to select the content page.
  4. On the top navigation bar, choose Manage Publication.
  5. Make sure that the appropriate action is selected (Publish to publish/activate later and Unpublish to unpublish/deactivate later).
  6. Select the radio button for Later.
  7. Enter the date and time.
  8. Click Next.
  9. Confirm the scope matches what you expect and click Next.
  10. Give the workflow a title and click "Publish later" or "Unpublish later."
  11. Confirm the workflow is set: Look at the Properties dialog for the content. It should say "Publication Pending" with the specified date and time.

Using the Classic UI

 Note
The Classic UI is deprecated and may be removed from future releases of AEM.

In the older Classic UI perform the following steps:

  1. Go to the siteadmin interface (https://author.lsa.umich.edu/siteadmin#/content/...).
  2. Navigate to the content page.
  3. Single-click to select the content page.
  4. On the top navigation bar, click the arrow on the Activate (or Deactivate) button. Be careful not to click the Activate (or Deactivate) button itself.
  5. Choose Activate Later... or Deactivate Later....
  6. Specify the date and time and click OK.
  7. Confirm the workflow is set: Look at the Status column. You should see a little calendar icon that, when you hover over it, shows what it will do when.

Additional notes

If your workflow has not yet begun and you want to cancel it, you can cancel the job from the AEM Workflow Console.

When the workflow finishes running you should receive email with the following information:

  • From — The email sender is noreply@day.com by default.
  • Subject — The Subject line will begin "Workflow notification:" and end with a status. WorkflowCompleted (one word in CamelCase) indicates success.
  • Body — The message body contains the time the workflow ran, the user it ran as, the workflow task (such as "Scheduled Page/Asset Activation" or "Scheduled Page/Asset Deactivation"), and the workflow URL.

We have seen instances where if the activation or deactivation date is more than 90 days in the future the content may publish or unpublish immediately.

Details

Article ID: 3275
Created
Fri 7/31/20 1:16 PM
Modified
Fri 3/8/24 11:57 AM