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
BedrockMission!

Learn More

View all

Sign in to view all badges

DAM update asset workflow on folders

Avatar

Avatar
Validate 1
Level 2
Shaheena_Sk
Level 2

Likes

6 likes

Total Posts

94 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
Shaheena_Sk
Level 2

Likes

6 likes

Total Posts

94 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
Shaheena_Sk
Level 2

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
Validate 1
Level 2
Shaheena_Sk
Level 2

Likes

6 likes

Total Posts

94 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
Shaheena_Sk
Level 2

Likes

6 likes

Total Posts

94 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
Shaheena_Sk
Level 2

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
Give Back 5
Employee
vanegi
Employee

Likes

389 likes

Total Posts

377 posts

Correct Reply

147 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

389 likes

Total Posts

377 posts

Correct Reply

147 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
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
Contributor
Level 2
VeenaK
Level 2

Likes

18 likes

Total Posts

15 posts

Correct Reply

3 solutions
Top badges earned
Contributor
Shape 1
Give Back
Boost 5
Boost 3
View profile

Avatar
Contributor
Level 2
VeenaK
Level 2

Likes

18 likes

Total Posts

15 posts

Correct Reply

3 solutions
Top badges earned
Contributor
Shape 1
Give Back
Boost 5
Boost 3
View profile
VeenaK
Level 2

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
Validate 1
MVP
santhosh_kumark
MVP

Likes

98 likes

Total Posts

111 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 50
Boost 5
View profile

Avatar
Validate 1
MVP
santhosh_kumark
MVP

Likes

98 likes

Total Posts

111 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 50
Boost 5
View profile
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