I have a Flow with a custom Lightning component which implements lightning:availableForFlowScreens.

I want the Flow to invoke a client-side javascript controller method when the user uses the Finish button in the Flow.

I cannot seem to find any documentation that implies this is possible.

  1. Is this possible?
  2. How can I achieve this?

You need to remove the Flow footer and create your own navigation.

And run this from your JavaScript controller:

var navigate = cmp.get("v.navigateFlow");
navigate('FINISH'); // or NEXT

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.