dam:assetState property value remains "processing" after custom workflow finish | Community
Skip to main content
New Participant
October 10, 2017
Solved

dam:assetState property value remains "processing" after custom workflow finish

  • October 10, 2017
  • 12 replies
  • 7903 views

Hi,

I have created custom workflow, which is generating additional renditions for assets after they are created/modified. Problem is that (after workflow finish) value of property dam:assetState remains "processing". Workflow is not transient. Assets are fully modifiable and I can use them normally.

I guess that probably I've forget about adding some step in workflow model, or whatever.

AEM version 6.2.0.SP1.

Please advise.

Thanks,

Arek

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 rmahendra

dam:assetState is being set to processed in the DAM Update Asset Workflow Completed Step. Please check if you have that step in the dam update asset workflow.

12 replies

New Participant
October 11, 2017

Hi,

To create renditions I'm using com.day.image.Layer and its methods: resize() and crop(). After that, using InputStream from the layer I'm adding new rendition using com.day.cq.dam.api.Asset.addRenditionMethod().

smacdonald2008
New Participant
October 10, 2017

Are you using the AssetManager API in a custom step to create the renditions?