Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.3 : what is dam:assetState property ?

atulp44324524
Level 2
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
ukgaurav
Correct answer by
Employee
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
kautuk_sahni
Community Manager
Community Manager

amitgupt any help here?

I have also asked internal folks about this.

~kautuk

ukgaurav
Correct answer by
Employee
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

kautuk_sahni
Community Manager
Community Manager

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