How to run a workflow Models manually for whole folder in AEM DAM | Community
Skip to main content
JakeCham
Level 6
October 5, 2022
Solved

How to run a workflow Models manually for whole folder in AEM DAM

  • October 5, 2022
  • 2 replies
  • 1854 views

Hi Team,

 

Having a workflow which triggers when an image getting uploaded into DAM. I want to know is there a way to run it manually for whole DAM image folders without going it one image at a time.

Choosing Model -> Start workflow ->Payload(giving a whole folder instead one image at a time) -> Run

This way it is not working.

 

Thanks in advance. 

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 lukasz-m

Hi @jakecham,

I think the easiest option will be to use Bulk Workflow Manger from ACS Commons:

2 replies

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
October 5, 2022

Hi @jakecham,

I think the easiest option will be to use Bulk Workflow Manger from ACS Commons:

manjunathdj
October 6, 2022

@jakecham  - Did you try running workflow selecting DAM folder manually ?

JakeCham
JakeChamAuthor
Level 6
October 6, 2022

Yes in Payload I have choose a sub folder inside dam. It is not working. If I choose a single image as payload then workflow is running. Anything you have experienced before ?

 

manjunathdj
October 6, 2022

@jakecham 

Trigger part can be as individual asset/directory but as directory its not supported OOTB you need to make customized solutions......  you need to handle these in code(Custom Process Step)  -get the payload path and iterate so you get the list of all child resource path under directory(payload) and now you can deal with these path..

 

Check this tread-

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/multi-resource-support-not-working-for-workflow/td-p/359375