Expand my Community achievements bar.

SOLVED

AEM 6.3 : what is dam:assetState property ?

Avatar

Level 2

Hello,

we are working on upgrading from 6.0 to 6.3 version of AEM. We have customized the "DAM Upload Asset" workflow that gets called when uploading an asset in DAM Admin. It works fine in 6.0, however we are seeing one issue in 6.3.

I see two new properties got added in 6.3

dam:assetState

dam:relativePath

In vanilla 6.3 instance after I upload an asset the property "dam:assetState" has value of "processed"

However once we deploy our custom code and then upload the asset the value remains "processing". This is blocking any further action on that asset with error something like "workflow is in progress".

I am not sure if we need to update this property in our custom step, any pointers are appreciated!

Thanks

- Atul

1 Accepted Solution

Avatar

Correct answer by
Employee

This is because that in AEM 6.3 DAM Update Asset workflow has been made transient. review more details here

https://docs.adobe.com/docs/en/aem/6-3/develop/extending/workflows/best-practices.html#Transient Workflows

make workflow untransient and try

thanks

View solution in original post

3 Replies

Avatar

Administrator

amitgupt any help here?

I have also asked internal folks about this.

~kautuk



Kautuk Sahni

Avatar

Correct answer by
Employee

This is because that in AEM 6.3 DAM Update Asset workflow has been made transient. review more details here

https://docs.adobe.com/docs/en/aem/6-3/develop/extending/workflows/best-practices.html#Transient Workflows

make workflow untransient and try

thanks

Avatar

Administrator

Adding some more information here:

When we upload an asset to DAM, dam:assetState provides information about the current status of the upload. For example I tried to upload a large video file and my dam:assetState initially states as processing. Once the upload is complete status changes to dam:assetState: processed.

~kautuk



Kautuk Sahni