Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

DAM update asset workflow on folders

Avatar

Level 4

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}] 

1 Accepted Solution

Avatar

Correct answer by
Level 4

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.

View solution in original post

4 Replies

Avatar

Community Advisor

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

Avatar

Employee

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.

Avatar

Correct answer by
Level 4

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.