I have a screen flow that has a sub flow. On the subflow I have an Aura component that has the following line.
<lightning:flow aura:id="flowData" onstatuschange="{!c.statusChange}" />
The statusChange method is just this
statusChange: function (cmp, event, helper) {
console.log(" test ");
},
The statusChange method runs on the "STARTED" change but not on the "FINISHED" change. Any idea why?
I tried replacing the built in footer with a custom footer, but when running the following code it navigates the parent flow and not the subflow.
var navigate = cmp.get('v.navigateFlow');
navigate("NEXT");