Expand my Community achievements bar.

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

workflow purge in AEM cloud

Avatar

Level 4

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...

 

 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 

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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