Create a workflow in AEM which creates sample renditions and only gets triggered if the asset has a unique Tag | Community
Skip to main content
anupampat
Community Advisor
Community Advisor
May 23, 2018
Solved

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

  • May 23, 2018
  • 4 replies
  • 1611 views

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.

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 joerghoh

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

4 replies

smacdonald2008
Level 10
May 23, 2018

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

anupampat
Community Advisor
anupampatCommunity AdvisorAuthor
Community Advisor
May 23, 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.

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
May 23, 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

anupampat
Community Advisor
anupampatCommunity AdvisorAuthor
Community Advisor
May 30, 2018

Thanks a lot. This is what I was looking for