workflow purge in AEM cloud | Community
Skip to main content
Level 4
May 9, 2023
Solved

workflow purge in AEM cloud

  • May 9, 2023
  • 2 replies
  • 3164 views

Hi All,

I have to purge workflow on AEM CLOUD of more than 10 days older,

I have followed the below article.

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/sites/administering/workflows-administering.html?lang=en

 

 Created config name - com.adobe.granite.workflow.purge.Scheduler.cfg.json 

and the path  of config is -  >   ui.config/src/main/content/jcr_root/apps/wknd/osgiconfig/config.author

{
"scheduledpurge.name":"Dam Purge",
"scheduledpurge.daysold:Integer":10,
"scheduledpurge.modelIds":[
" /conf/global/settings/workflow/models/dam/update_asset/jcr:content/model"
]
}

Please find the qn below : 

1: is the config name correct? 

2.  is the config path (ui.config/src/main/content/jcr_root/apps/wknd/osgiconfig/config.author) correct?

3 is the scheduledpurge.modelIds path is correct?

 

I have given scheduledpurge.modelIds -- /conf/global/settings/workflow/models/dam/update_asset/jcr:content/model but there is no model present inside our conf folder. Bcz we are using out the  box model . so what should be modelId  for that?

should i have used this model id  form libs  -   /libs/settings/workflow/models/dam/dynamic-media-reupload

because i want to purge this model  dynamic-media-reupload work flow 

 

 

 

 

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 rawvarun

For adding the configuration to the repository, the node's name requires an identifier suffix.

e.g. com.adobe.granite.workflow.purge.Scheduler-<identifier>

 

Also, the ID is the path to the model node.
e.g.

/conf/global/settings/workflow/models/dam/update_asset

 

2 replies

Shiv_Prakash_Patel
Community Advisor
Community Advisor
May 9, 2023
Shiv Prakash
rawvarun
Community Advisor
rawvarunCommunity AdvisorAccepted solution
Community Advisor
May 9, 2023

For adding the configuration to the repository, the node's name requires an identifier suffix.

e.g. com.adobe.granite.workflow.purge.Scheduler-<identifier>

 

Also, the ID is the path to the model node.
e.g.

/conf/global/settings/workflow/models/dam/update_asset