AEM Workflow Purging


Workflow history needs to be purged regularly. AEM scheduler should delete completed workflows older than 5 days every Saturday.
Adobe docs link:
https://docs.adobe.com/docs/en/aem/6-2/administer/operations/workflows/administering.html

To run manually:

  1. Go to http://AEM-HOST:4502/system/console/jmx/com.adobe.granite.workflow%3Atype%3DMaintenance 
  2. Click on ​purgeCompleted Mbean 
  3. java.lang.String model [optional]​ - leave empty unless otherwise desired 
  4. java.lang.Integer number of days since workflow has been completed​ - enter the desired number of days 
  5. java.lang.Boolean dry run​ - set to true if one wants to do a dry run 
  6. Click on ​Invoke


    Automatic AEM maintenance scheduler Configuration:-
  1. go to ​http://AEM-HOST:4502/system/console/configMgr 
  2. go to the ​Adobe Granite Workflow Purge Configuration section 
  3. click on the existing configuration listed on the next line
  4. configure as needed

  • Manual Execution:-
  1. go to ​http://AEM-HOST:4502//libs/granite/operations/content/maintenance.html 
  2. Click on the ​Weekly Maintenance Window .
  3. Click on the ​Play​ icon that appears when one's mouse hovers over the Workflow Purge task 

    Comments

    Popular Posts