Workflow Step Read and Write Metadata on Image Upload -AEM 5.6.1
Hello,
I am trying to read and write metadata on Image upload, I am able to trigger the custom workflow to extract metadata, but in vain.
Here are my observations. I have tried using asset.getMetadataValue and Valuemap but no use.
I have also tried using node.getProperty("dam:Fileformat").getString() but no results, can anyone help me here?
Update: Instead of updating "DAM Update Asset" Workflow, i created a workflow launcher on node created at path : /content/dam/Test, (i.e> if there is an image uploaded at path /content/dam/Test) , but in my opinion , it cannot extract metadata or write anything to it, cause the metadata update by "DAM Update Asset" Workflow is not complete by the time my workflow is triggered. Any way i could trigger my custom workflow after the "DAM Update asset" workflow is complete?
or have my workflow triggered after the metadata node for the particular image uploaded ,has been completely updated?
Regards,
Nicole