function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

onstatuschange does not works on mobile

I have aura component 
<aura:component  implements="flexipage:availableForRecordHome,force:hasRecordId,lightning:actionOverride" access="global">
    <aura:attribute name="PATEST" type="CTPHARMA__Activity__c" />
    <aura:handler name="init" value="{!this}" action="{!c.init}" />  
     <div style="background-color:white">
    <lightning:flow aura:id="PATEST" onstatuschange="{!c.gotoURL}"/>

and controller 
    init : function (component) {
        // Find the component whose aura:id is "flowData"
        var flow = component.find("PATEST");
        // In that component, start your flow. Reference the flow's Unique Name.
gotoURL : function (component, event, helper) {
         if(event.getParam("status") === "FINISHED") {
      var outputVariables = event.getParam("outputVariables");
      var outputVar;
      for(var i = 0; i < outputVariables.length; i++) {
         outputVar = outputVariables[i];
         if( === "redirect") {
            var urlEvent = $A.get("e.force:navigateToSObject");
               "recordId": outputVar.value,
               "isredirect": "true"

onstatuschange="{!c.gotoURL}" works perfectly fine inside desktop Salesforce but on mobile, it is not. It just returns to the first screen of the flow.
Is there any way to redirect to the created with the flow record inside the mobile app?
Anky KolaAnky Kola

Hi, Same Problem with me.

love status ( and sad status (