3

I know it's possible to launch a flow from Aura components, I'd like to know if this can also be done from a LWC.

Please note that I'm not trying to add a LWC into a screen flow - which is an upcoming feature in Winter '20.

So is this possible, and if not, are there any workarounds (aside from building the component using Aura)?

Any help would be much appreciated.

3

No. As of today its not available. You can keep checking the documentation Base Components: Aura Vs Lightning Web Components to know:

The table lists usage differences between Aura base components and their Lightning web component counterparts.

  • Thanks for the info – M H Sep 20 at 2:47
  • Are there any decent workarounds that you could suggest? – M H Sep 20 at 2:48
  • the simplest would be to wrap LWC comp in aura comp, fire custom event from lwc which will be taken care by aura to launch – salesforce-sas Sep 20 at 3:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.