Expand my Community achievements bar.

SOLVED

Workflows for Assets

Avatar

Level 4

Hi All

 

I want to know all workflows that got triggered / executed when an asset is uploaded to AEM?

 

I checked

Tools -> workflow -> Instances

Tools -> workflow -> Archive

 

But I could not find any records of workflow in the above paths.

 

However, in my logs I could see var/workflow/instances/server0/update_asset workflow entries. I'm wondering why update_asset workflow shown in logs but not in Tools -> workflows -> Instances or Tools -> workflows -> Archive

 

Can anyone explain why this happens?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @girishb83316758,

By default DAM Update Asset workflow model is configured to run in transient mode. This is why you are not seeing any entries related to execution of this workflow under Archive.

This behavior can be changed by deselecting (uncheck it) Transient Workflow option in workflow properties.

dam-workflow-properties.jpg

Above change will be applicable to any newly run workflow.

You can learn more about purposes of transient workflow option from official documentation:

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @girishb83316758,

By default DAM Update Asset workflow model is configured to run in transient mode. This is why you are not seeing any entries related to execution of this workflow under Archive.

This behavior can be changed by deselecting (uncheck it) Transient Workflow option in workflow properties.

dam-workflow-properties.jpg

Above change will be applicable to any newly run workflow.

You can learn more about purposes of transient workflow option from official documentation:

Avatar

Level 3

@girishb83316758 , the dam update asset workflow is indeed in transient mode that's the reason you don't see it in instance or archive console. It's an oob workflow which runs when you upload any assets so you can make it visible in the console if you uncheck the transient option from the model. @lukasz-m  is right and he has given the screenshot as well where you can see the option to uncheck the transient property from the workflow model. 

Also the reason it is made transient is that it will trigger for each asset you upload so it may consume more memory and impact the performance so it is made transient.

 

Thanks,

Mahesh