Enable disable workflow launcher based on feature flag | Community
Skip to main content
Nitin_laad
Community Advisor
Community Advisor
January 2, 2020
Solved

Enable disable workflow launcher based on feature flag

  • January 2, 2020
  • 2 replies
  • 4740 views

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.
Best answer by arunpatidar

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

 

2 replies

joerghoh
Adobe Employee
Adobe Employee
January 3, 2020

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

Nitin_laad
Community Advisor
Community Advisor
January 3, 2020

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.

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
January 5, 2020

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
Nitin_laad
Community Advisor
Community Advisor
January 6, 2020
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.