Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to add a custom workflow step to DAM Update Asset

Avatar

Level 1

Hi,

After migrating several thousand assets, I need to run DAM Update Asset on all of them. I need to modify the workflow to have one more purpose, which is to create a "versionDate" metadata property on each asset, and copy the Last Modified Date from the file to that property value. I'm not really sure where to start - the development seems straightforward but I just need to know what files I'm modifying and why.

Any help is appreciated!

Cheers

1 Accepted Solution

Avatar

Correct answer by
Level 3
2 Replies

Avatar

Level 3

Hi,

First create a Workflow Process Step to perform operation like "versionDate" and etc...

Than Go to /libs/settings/workflow/models/dam/update_asset.html ,edit the workflow model ,add Process Step component and select your custom process step and save it.

Avatar

Correct answer by
Level 3