Tool for unused workflow AEM6.5 | Community
Skip to main content
srinivas_chann1
Level 7
July 13, 2022
Solved

Tool for unused workflow AEM6.5

  • July 13, 2022
  • 2 replies
  • 733 views

Hi,

 

Could someone provide inputs as how to find unused workflows in the system.

 

Do we have any tool for the same??

 

Say for example:- we have 10 OOTB workflow and 5 custom workflows in the instance.

Say for time period around past 1 year how to find out of 15 workflows which have be executed (used) and which have not been used with this time frame.

 

Any inputs on this will be helpfull.

 

Regards,

Srinivas

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ShaileshBassi

@srinivas_chann1 There is no OOTB way to get the list of the workflows which are not used in the system for a duration of time.

Reason - AEM have the "Purging of the Workflow Instances" which is done via the configuration i.e. "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.

So with this, you will not be able to get the list of the completed/suspended/terminate workflows if they have been purged by the above mentioned config based on how the configuration is configured in the system

 

And it is even not recommended to disable the purge as that you increase the number of the nodes stored in the location i.e. "/var/workflow/instances".

 

The best way is to analyse the business requirement and remove the custom workflow which are not required now.

 

Hope this helps!

Thanks

2 replies

ShaileshBassi
Community Advisor
ShaileshBassiCommunity AdvisorAccepted solution
Community Advisor
July 13, 2022

@srinivas_chann1 There is no OOTB way to get the list of the workflows which are not used in the system for a duration of time.

Reason - AEM have the "Purging of the Workflow Instances" which is done via the configuration i.e. "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.

So with this, you will not be able to get the list of the completed/suspended/terminate workflows if they have been purged by the above mentioned config based on how the configuration is configured in the system

 

And it is even not recommended to disable the purge as that you increase the number of the nodes stored in the location i.e. "/var/workflow/instances".

 

The best way is to analyse the business requirement and remove the custom workflow which are not required now.

 

Hope this helps!

Thanks

SantoshSai
Community Advisor
Community Advisor
July 13, 2022