AEM 6.3 : what is dam:assetState property ? | Community
Skip to main content
Level 2
June 15, 2017
Solved

AEM 6.3 : what is dam:assetState property ?

  • June 15, 2017
  • 3 replies
  • 6293 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by gaujain

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

3 replies

kautuk_sahni
Community Manager
Community Manager
August 11, 2017

amitgupt any help here?

I have also asked internal folks about this.

~kautuk

Kautuk Sahni
gaujainAdobe EmployeeAccepted solution
Adobe Employee
August 11, 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

kautuk_sahni
Community Manager
Community Manager
August 17, 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

Kautuk Sahni