Understand OOTB Dam Update Asset workflow | Community
Skip to main content
Level 3
May 2, 2022
Solved

Understand OOTB Dam Update Asset workflow

  • May 2, 2022
  • 3 replies
  • 3073 views

In our AEM Server, sometimes when we add a large number of images, the default OOTB Dam Update Asset Workflow gets stuck.

Wanted to understand what all the different steps under this workflow do so that we can decide on deactivating this workflow ??

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MayurSatav

The official documentation is already there for workflow best practices, you can check. It is not exactly what you are looking for but it will give you a high-level understanding.
https://experienceleague.adobe.com/docs/experience-manager-64/developing/extending-aem/extending-workflows/workflows-best-practices.html?lang=en

 

3 replies

Level 3
May 2, 2022

Hi @mayursatav,

I am aware of how to disable this workflow. 

My question is where I can find all the details of different steps of this workflow. So that I can decide whether to disable it altogether or keep a few important steps based on my needs. 

Basically looking for documentation of this OOTB workflow, and what all actions this performs.

MayurSatav
Community Advisor and Adobe Champion
MayurSatavCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
May 2, 2022

The official documentation is already there for workflow best practices, you can check. It is not exactly what you are looking for but it will give you a high-level understanding.
https://experienceleague.adobe.com/docs/experience-manager-64/developing/extending-aem/extending-workflows/workflows-best-practices.html?lang=en

 

Anmol_Bhardwaj
Community Advisor
Community Advisor
May 2, 2022

Hi @ashish_mishra1 ,

 

These are the steps involved in DAM update Assets Workflow:

If you want to see the details of each step, you can go to :
https://<server>/editor.html/conf/global/settings/workflow/models/dam/update_asset.html 

 

If there are a large number of assets involved, the workflow becomes a async job, which runs when in the background. 

What seems stuck could just be that other operations are going on and the async job has paused for a while.

 

You can go to :
http://<server>/mnt/overlay/granite/async/content/asyncjobs.html

to check the status of any async jobs in your aem server

Level 3
May 4, 2022

Hi @debal_das  @anmol_bhardwaj  @mayursatav 

I have checked the async jobs queue, it's empty.

Was checking the configuration for Transient workflow jobs. Below is my server config for the same, Do you think I need to modify the parallel jobs number?? will that help in processing the large number of assets.

 

DEBAL_DAS
New Member
May 2, 2022

As we all know OOTB DAM Update Asset Workflow creates individual workflow instance for each asset while uploading. Could you please confirm Update Asset Workflow workflow instance isn't getting completed or failed when it's getting stuck.

 

Are you seeing anything at Tools--->Workflow---->Failures as shown below in screenshot associated with Update Asset Workflow -

 

Please note that I am interested to troubleshoot the issue here.

Debal Das, Senior AEM Consultant
Level 3
May 2, 2022

Workflow is stuck, it's visible in workflow instances. There is no failure or archives. In logs also there is no error message related to this.