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

Avatar

Avatar

anupamp17770278

Avatar

anupamp17770278

anupamp17770278

23-05-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

953

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

953

Correct Reply

1.0K
Jörg_Hoh
Employee

23-05-2018

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

Answers (3)

Answers (3)

Avatar

Avatar

anupamp17770278

Avatar

anupamp17770278

anupamp17770278

30-05-2018

Thanks a lot. This is what I was looking for

Avatar

Avatar

anupamp17770278

Avatar

anupamp17770278

anupamp17770278

23-05-2018

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

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

23-05-2018

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