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.5)
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:
- Go to the admin interface (https://author.lsa.umich.edu/sites.html/content/...).
- Navigate to the content page.
- Single-click to select the content page.
- On the top navigation bar, choose Manage Publication.
- Make sure that the appropriate action is selected (Publish to publish/activate later and Unpublish to unpublish/deactivate later).
- Select the radio button for Later.
- Enter the date and time. Time displays in 12 hour format.
- Click Next.
- Confirm the scope matches what you expect and click Next.
- Give the workflow a title and click "Publish later" or "Unpublish later."
- 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:
- Go to the siteadmin interface (https://author.lsa.umich.edu/siteadmin#/content/...).
- Navigate to the content page.
- Single-click to select the content page.
- 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.
- Choose Activate Later... or Deactivate Later....
- Specify the date and time and click OK.
- 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.