Newer Version Available
Control Flow Navigation from a Lightning Component
By default, users navigate a flow by clicking standard buttons at the bottom of
each screen. The lightning:availableForFlowScreens interface provides two
attributes to help you fully customize your screen's navigation. To figure out which
navigation actions are available for the screen, loop through the availableActions attribute. To programmatically
trigger one of those actions, call the navigateFlow action from your JavaScript controller.
When you override the screen's navigation with a Lightning component, remember to hide the footer so that the screen has only one navigation model.