Configuring Workflow Purge in AEM as a Cloud Service

This article provides step-by-step guidance on configuring workflow purge settings in Adobe Experience Manager as a Cloud Service (AEMaaCS). Proper workflow purge configuration helps maintain optimal system performance by removing completed workflow instances, thus preventing unnecessary data accumulation.

Description description

Environment

Adobe Experience Manager as a Cloud Service (AEMaaCS)

Issue

In Adobe Experience Manager as a Cloud Service (AEMaaCS), workflow purging is essential to ensure that the system doesn’t become bogged down with obsolete workflow instances.

Unlike earlier versions of AEM, where maintenance tasks could be configured using the Maintenance Card, AEMaaCS requires that these configurations be committed to source control and deployed via Cloud Manager.

This process ensures that completed workflow packages are automatically purged, maintaining the health and performance of the AEM environment.

Resolution resolution

  1. Access Maintenance Tasks Documentation:

  2. Understand the Configuration Process:

    • Review the documentation to understand which maintenance tasks can be configured by customers and how they should be committed to source control for deployment via Cloud Manager.
  3. Understand the Configuration Process:

    • Ensure to enable the purge package payload option in the com.adobe.granite.workflow.purge.Scheduler OSGi configuration to automatically remove the completed workflow packages.

    • Example configuration snippet for workflow purge (replace with actual configuration details as needed):

      code language-none
      <workflow-purge>
      <enabled>true</enabled>
      <interval>7d</interval>
      <maxDays>30</maxDays>
      <workflowModels>
      <workflowModel>/var/workflow/models/dam/update_asset</workflowModel>
      </workflowModels>
      </workflow-purge>
      
  4. Configurations via Cloud Manager:

    • Once the configurations are committed to source control, use Cloud Manager to deploy these changes to your AEM environment.
    • Ensure that the deployment runs successfully, and verify that the workflow purge settings are applied correctly.
  5. Monitor and Maintain:

    • Regularly monitor the performance of your AEM environment to ensure that workflow purging is functioning as expected.
    • Adjust the purge settings as necessary based on system performance and storage requirements.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f