DAM update asset workflow on folders | Community
Skip to main content
Level 4
Oct 9, 2020 7:11 AM UTC
Solved

DAM update asset workflow on folders

Can DAM update asset workflow be executed on folders?

I copied the OOTB Dam update asset workflow and then executed that to the folder, it didnt work. 

 

*ERROR* [JobHandler: /var/workflow/instances/server0/2020-09-29/dam_update_asset1_60:/content/dam/foood] com.day.cq.workflow.compatibility.CQWorkflowProcessRunner Process execution resulted in an error: com.day.cq.workflow.WorkflowException: execute: gatekeeping failed, asset [{/content/dam/foood}] in payload doesn't exist for workflow [{VolatileWorkItem_node1_var_workflow_instances_server0_2020-09-29_dam_update_asset1_60}]. com.day.cq.workflow.WorkflowException: com.day.cq.workflow.WorkflowException: execute: gatekeeping failed, asset [{/content/dam/foood}] in payload doesn't exist for workflow [{VolatileWorkItem_node1_var_workflow_instances_server0_2020-09-29_dam_update_asset1_60}] 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Shaheena_SkAccepted solution
Level 4
Oct 12, 2020 3:59 AM UTC

There's surely some inconsistent issue with the OOTB DAM Update asset workflow. I had to recopy the workflow and then use the 2nd copy. since the first copy wouldn't work on folders containing assets.

4 replies

Shaheena_SkAuthorAccepted solution
Level 4
Oct 12, 2020 3:59 AM UTC

There's surely some inconsistent issue with the OOTB DAM Update asset workflow. I had to recopy the workflow and then use the 2nd copy. since the first copy wouldn't work on folders containing assets.

Translate
Level 4
Oct 9, 2020 4:55 PM UTC

Hi @shaheena_sk 

 

check out this documentation to run the workflow for multiple assests.

https://docs.adobe.com/content/help/en/experience-manager-65/assets/using/assets-workflow.html

 

You can also use acs commons bulk workflow manager to run the workflow for multiple assets.

 

https://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager/index.html

 

Thanks,

Veena K

Translate
vanegi
Employee
Oct 9, 2020 3:49 PM UTC

Have you tried the other way around:

 

1. Select folder containing assets.

2. Click on Timeline from left hand side toggle.

3. Click on Start workflow and select the dam Update Asset workflow.

 

Check the workflow instance from crxde: /var/workflow/instances/server0

If error messages do not provide much info, then put debug log on com.adobe.granite.workflow.core and com.day.cq.workflow and replicate the issue.

Translate
santhosh_kumark
Level 6
Oct 9, 2020 7:41 AM UTC

Hi @shaheena_sk ,

 

Are you trying to execute the workflow on empty folders?

If the folder you want to publish includes an empty folder, the empty folder is not published.

kb link: https://helpx.adobe.com/in/experience-manager/6-3/assets/using/managing-assets-touch-ui.html

 

Regards,

Santosh

Translate