Understand OOTB Dam Update Asset workflow | Community
Skip to main content
Level 3
May 2, 2022 11:16 AM UTC
Solved

Understand OOTB Dam Update Asset workflow

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.
MayurSatav
MayurSatavAccepted solution
New Participant
May 2, 2022 11:53 AM UTC

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

 

7 replies

DEBAL_DAS
New Participant
May 2, 2022 1:19 PM UTC

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.

Translate
Level 3
May 2, 2022 5:46 PM UTC

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.

Translate
Anmol_Bhardwaj
New Participant
May 2, 2022 12:57 PM UTC

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

Translate
Level 3
May 4, 2022 8:55 AM UTC

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.

 

Translate
Level 3
May 2, 2022 11:40 AM UTC

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.

Translate
MayurSatav
MayurSatavAccepted solution
New Participant
May 2, 2022 11:53 AM UTC

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

 

Translate