Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

AEM6.5 OOTB Adobe granite workflow purge not working from weekly maintenance page

Avatar

Level 8

Hi,

I want to kill or purge a running workflow using maintenance page which does not work.

 

I have configured the workflow purge from 

/libs/granite/operations/content/maintenanceWindow.html/conf/global/settings/granite/operations/main...

srinivas_chann1_0-1658771566291.pngsrinivas_chann1_1-1658771590765.png

 

When I manually trigger the purge by clicking the run option on the maintenance page. 

 

I still see the running work  of "update-metadata-asset" on /libs/cq/workflow/content/console.html

 

The work flow is running from past 1 week (i.e 7 days).

 

 

 

What could be the issue ?? What could I do to resolve this issue??

 

Note:- There are few other workflows too are still in running state which are not getting removed using workflow purge

 

Thanks,

Srinivas

 

6 Replies

Avatar

Community Advisor

Hi @srinivas_chann1 ,

Please check your workflow instance in Granite UI - > http://localhost:4502/aem/start.html Tools -> Workflow.

Screen Shot 2022-07-25 at 10.58.34 PM.png

Regards,

Santosh

Avatar

Level 7

Did you try a restart of a system? If this does not work:

 

Following steps seem to stop the background process:

  1. Make sure workflows are terminated via the normal /workflows window.
  2. Open ip:port/system/console/bundles:

STOP Adobe - XMPFiles Worker host com.adobe.xmp.worker.files.host                            

STOP Adobe XMPCore com.adobe.xmp.xmpcore5.0.20

STOP Day Communique 5 DAM Asset Handler Implementationcom.day.cq.dam.cq-dam-handler 5.6.6              

STOP Day Communique 5 WCM Workflow com.day.cq.wcm.cq-wcm-workflow 5.6.4                  

STOP Day Communique 5 Workflow Implementation com.day.cq.workflow.cq-workflow-impl 5.6.8

 

RESTART CQ BOX

 

START Adobe - XMPFiles Worker host com.adobe.xmp.worker.files.host                          

START Adobe XMPCore com.adobe.xmp.xmpcore5.0.20

START Day Communique 5 DAM Asset Handler Implementationcom.day.cq.dam.cq-dam-handler 5.6.6             

START Day Communique 5 WCM Workflow com.day.cq.wcm.cq-wcm-workflow 5.6.4                

START Day Communique 5 Workflow Implementation com.day.cq.workflow.cq-workflow-impl 5.6.8

 

RESTART CQ BOX

 

Reference - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/best-way-to-stop-long-runn... 

Avatar

Level 8

Thanks  for the input.

 

I have pdf file workflow running will this solve the problem and as it is production cannot restart anything .

 

Any other way this could be resolved.

 

Thanks

Avatar

Level 1

Purging works with models paths started with /var/workflow/models/ not /conf/global/settings/workflow/models.