Queue of workflow launchers | Community
Skip to main content
New Participant
April 5, 2016
Solved

Queue of workflow launchers

  • April 5, 2016
  • 5 replies
  • 2048 views

Hi All,

We have a requirement where a launcher has to wait for another launcher to complete. The scenario is when an asset(It might be a pdf or document) is added under a DAM path, first the DAM Update Asset launcher has to run followed by my launcher.

Currently my launcher completes before default DAM Update Asset launcher, hence getting issues with renditions. Is there any way to set an order of the launchers?

Any solution will be very helpful. I am using AEM 5.6 version.

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 edubey

In launcher workflow which activates

Try adding a condition of a property which will only be present when Dam Asset update is completed.

5 replies

New Participant
April 20, 2016

ok.. Thanks

edubey
edubeyAccepted solution
New Participant
April 6, 2016

In launcher workflow which activates

Try adding a condition of a property which will only be present when Dam Asset update is completed.

New Participant
April 6, 2016

My use case is have a launcher that activates, once an Asset is uploaded, the the problem here is my launcher completes before the DAM asset update, hence the renditions are not moved to publish. Any suggestions will be very helpful.

smacdonald2008
New Participant
April 5, 2016

As kunal suggests - modify the 1st workflow to invoke the second workflow. This is the only way to deal with this use case.

Kunal_Gaba_
New Participant
April 5, 2016

I don't know your use case but you can customize the update asset workflow and add a custom process step at the end instead of triggering a new workflow via a launcher.