Expand my Community achievements bar.

SOLVED

Stale workflow in console

Avatar

Level 6

Hi All,

Once we saw workflow console. i can able to see [img]count_workflow.JPG[/img]

I can able to see 25000 worklow in STALE state. Please let me know hoe to clean this stale?>

I am using AEM 6.0 SP2.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Pradeep,

what caused this many stale workflows?

To delete completed or running workflows you can use: http://localhost:4502/system/console/configMgr/com.adobe.granite.workflow.purge.Scheduler

For Stale workflows, you can use the workflows console: http://localhost:4502/libs/cq/workflow/content/console.html

However in your case, their are far too many to delete manually, so you can use the ACS AEM Commons workflow remover: http://adobe-consulting-services.github.io/acs-aem-commons/features/workflow-remover.html

Regards,

Opkar

View solution in original post

2 Replies

Avatar

Employee Advisor

stale workflows occurr, when an unhandled exception happens during execution. So please check the logs.

kind regards,
Jörg

Avatar

Correct answer by
Employee

Hi Pradeep,

what caused this many stale workflows?

To delete completed or running workflows you can use: http://localhost:4502/system/console/configMgr/com.adobe.granite.workflow.purge.Scheduler

For Stale workflows, you can use the workflows console: http://localhost:4502/libs/cq/workflow/content/console.html

However in your case, their are far too many to delete manually, so you can use the ACS AEM Commons workflow remover: http://adobe-consulting-services.github.io/acs-aem-commons/features/workflow-remover.html

Regards,

Opkar