AEM 6.3 : what is dam:assetState property ?

Avatar

Avatar

atulp44324524

Avatar

atulp44324524

atulp44324524

15-06-2017

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ukgaurav

Employee

Avatar

ukgaurav

Employee

ukgaurav
Employee

11-08-2017

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

Answers (2)

Answers (2)

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K
kautuk_sahni
Community Manager

16-08-2017

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

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K
kautuk_sahni
Community Manager

11-08-2017

amitgupt any help here?

I have also asked internal folks about this.

~kautuk