Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Purging of OOTB and custom workflows for aem6.5

Avatar

Level 8

Hi ,

 

1>Could some one please suggest what tool we have that we could use to kill the failure or long running workflows.

If there are any custom and OOTB workflows will this tool be able to purge them 

 

2> For tracking the workflows in the logs what will be the LOGGER details(API package) , I need to add under /system/console/slinglog 

 

Thanks,

Srinivas

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Below are the useful links for each problem.

 

1. https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/workflows-adm...

For additional workflow maintenance operations use this : /system/console/jmx/com.adobe.granite.workflow%3Atype%3DMaintenance

 

2.  https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/workflow-logging-needed/m-...

 

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Below are the useful links for each problem.

 

1. https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/workflows-adm...

For additional workflow maintenance operations use this : /system/console/jmx/com.adobe.granite.workflow%3Atype%3DMaintenance

 

2.  https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/workflow-logging-needed/m-...

 

Avatar

Community Advisor

Hi @srinivas_chann1 ,

AEM does have OOTB Workflow purging functionality here : http://localhost:4502/libs/granite/operations/content/maintenanceWindow.html/apps/settings/granite/o... 

Screen Shot 2022-07-12 at 9.07.04 PM.png

You can configure Adobe Granite Workflow Purge Configuration to purge workflow instances according their age and status. You can also purge workflow instances of all models or of a specific model. 
Please refer these links for configuration steps:

Hope that helps!

Regards,

Santosh

Avatar

Level 8

@SantoshSai 

1>How to get the link of workflow purge on maintenanceWindow url

http://localhost:4502/libs/granite/operations/content/maintenanceWindow.html/apps/settings/granite/o...

 

Could you please help and provide any snapshots as how could I do that

 

2> I would want to send a note to admin email that all this running workflows were purged based on the configuration

https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/workflows-adm...

 

Is there any way we could configure that

 

Thanks,

Srinivas

 

 

Avatar

Level 8

@SantoshSai I have done the required configuration and can see it system console configuration ,I have set the time period as 1 means 1 day but it is not removing any running workflows that is more then 1 day .

 

How to solve this issue