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

Understand OOTB Dam Update Asset workflow

Avatar

Level 4

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 ??

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

View solution in original post

7 Replies

Avatar

Level 4

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.

Avatar

Correct answer by
Community Advisor

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

 

Avatar

Community Advisor

Hi @ashish_mishra1 ,

 

These are the steps involved in DAM update Assets Workflow:

AnmolBhardwaj1808_0-1651496071926.png

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

Avatar

Level 4

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.

ashish_mishra1_0-1651654506789.png

 

Avatar

Employee Advisor

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 -

 

DEBAL_DAS_0-1651497394891.png

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

Avatar

Level 4

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.