Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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

Level 5

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

 

Thanks,

Veena K

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.