Expand my Community achievements bar.

SOLVED

Create a workflow in AEM which creates sample renditions and only gets triggered if the asset has a unique Tag

Avatar

Level 4

If someone can guide me what steps I can follow to achieve the above requirement.

1. Steps to create a custom workflow for Asset Rendition. Not sure how to reuse the OOTB DAM Asset Update Workflow .

2. How to tag up a image/doc while uploading, be it manually or through script.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Why do you want to create a new one? You can customize the existing one and add a new step to it. That shouldn't be a problem.

Regarding the tagging: From a end-user workflow perspective, how do you imagine this process to happen, step by step? Where should the tagging happen?

If you want to do the tagging in AEM, you can indeed build a custom workflow, which creates the required renditions. And then tie this custom workflow to a freshly created workflow launcher. This workflow launcher is triggered when a special tag is added to an asset. IIRC you should able to build a condition for this case.

Depending on details of your usecase this specific approach can work without creating a custom workflow step, just by using the existing building blocks of AEM.

regards,
Jörg

View solution in original post

4 Replies

Avatar

Level 10

YOu want to invoke a workflow ONLY if an asset has a unque tag? Can you please provide more details.

Avatar

Level 4

well that's the requirement so far. Lets say I upload an Image and that image needs to be tagged to a unique ID(possibly while uploading) so that the custom rendition workflow can start.

But anyways my immediate need is to understand how can I create a custom Rendition workflow something closer to the OOTB DAM Update Asset Workflow. If you could give me some insight there it would be of great help.

Avatar

Correct answer by
Employee Advisor

Why do you want to create a new one? You can customize the existing one and add a new step to it. That shouldn't be a problem.

Regarding the tagging: From a end-user workflow perspective, how do you imagine this process to happen, step by step? Where should the tagging happen?

If you want to do the tagging in AEM, you can indeed build a custom workflow, which creates the required renditions. And then tie this custom workflow to a freshly created workflow launcher. This workflow launcher is triggered when a special tag is added to an asset. IIRC you should able to build a condition for this case.

Depending on details of your usecase this specific approach can work without creating a custom workflow step, just by using the existing building blocks of AEM.

regards,
Jörg

Avatar

Level 4

Thanks a lot. This is what I was looking for