DAM update asset workflow on folders

Avatar

Avatar

Shaheena_Sk

Avatar

Shaheena_Sk

Shaheena_Sk

09-10-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Shaheena_Sk

Avatar

Shaheena_Sk

Shaheena_Sk

11-10-2020

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.

Answers (3)

Answers (3)

Avatar

Avatar

vanegi

Employee

Avatar

vanegi

Employee

vanegi
Employee

09-10-2020

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

Avatar

VeenaK

Avatar

VeenaK

VeenaK

09-10-2020

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

Avatar

santhosh_kumark

MVP

Avatar

santhosh_kumark

MVP

santhosh_kumark
MVP

09-10-2020

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