Skip to main content
Level 3
Apr 5, 2016 7:37 AM UTC
Solved

Queue of workflow launchers

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.
edubey
edubeyAccepted solution
Level 10
Apr 6, 2016 12:10 PM UTC

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

Kunal_Gaba_
New Member
Apr 5, 2016 12:20 PM UTC

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. 

Translate
smacdonald2008
Level 10
Apr 5, 2016 1:18 PM UTC

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

Translate
Level 3
Apr 6, 2016 9:19 AM UTC

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.

Translate
edubey
edubeyAccepted solution
Level 10
Apr 6, 2016 12:10 PM UTC

In launcher workflow which activates

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

Translate
Level 3
Apr 20, 2016 7:33 AM UTC

ok.. Thanks

Translate