Enable disable workflow launcher based on feature flag | Community
Skip to main content
Nitin_laad
New Participant
Jan 2, 2020 6:52 PM UTC
Solved

Enable disable workflow launcher based on feature flag

Hi All, 

 

How can we enable or disable any workflow launcher based on feature flag value. 

Any suggestion please. 

 

Thanks, 

Nj

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jan 5, 2020 1:58 AM UTC

Hi,

Yes, you can enable/disable launcher based on the feature flag.
More info about feature flag at https://aemlab.blogspot.com/2018/06/sling-feature-flag.html

 

Arun Patidar

8 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Jan 5, 2020 1:58 AM UTC

Hi,

Yes, you can enable/disable launcher based on the feature flag.
More info about feature flag at https://aemlab.blogspot.com/2018/06/sling-feature-flag.html

 

Translate
Arun Patidar
Nitin_laad
New Participant
Jan 6, 2020 4:01 PM UTC
Thanks Arun, for your time and replying on the thread. I already gone through your blog post and found very useful. But somehow not satisfying my requirement.
Translate
joerghoh
Employee
Jan 3, 2020 11:18 AM UTC

What do you mean with "Feature flag"? Is it the sling feature with the same name [1] or do you refer to the software development pattern (which is not tied to any implementation)?

 

In any way, each workflow launcher has a flag "enabled", which you can set (based on any type of code or automation).

 

 

[1] https://sling.apache.org/documentation/the-sling-engine/featureflags.html

Translate
Nitin_laad
New Participant
Jan 3, 2020 12:29 PM UTC

Thanks Jorg for your reply.we have a requirement to invoke workflow based on asset metadata update. For that reason written a launcher which is working fine for individual asset update.

We do not want to invoke that launcher in case of bulk metadata update hence exploring feature enabled / disabled flag option available in launcher configuration.

Translate