You need to sign in to do that
Don't have an account?
Agathi Tsatsani
retURL parameter to a flow URL
Hello,
Once my flow is launched from one master object (Object1), it creates a new record for another child object (Object2). We need the user to be directed staright to the child record created when flow finishes.
Here is how my list button URL looks like:
/flow/flow_name?varRecordId={!Record__c.Id}&retURL=https://xxxxx--partial.lightning.force.com/lightning/r/Record__c/a0A{!Record__c.Id}/view
and it's not working. This retURL navigates to 'https://mydomain/lightning/r/Record__c//view' which results in Page Not Found.
It seems like the record created is not updated. Any suggestions how this can be resolved and the user directed be navigated to the record created?
Once my flow is launched from one master object (Object1), it creates a new record for another child object (Object2). We need the user to be directed staright to the child record created when flow finishes.
Here is how my list button URL looks like:
/flow/flow_name?varRecordId={!Record__c.Id}&retURL=https://xxxxx--partial.lightning.force.com/lightning/r/Record__c/a0A{!Record__c.Id}/view
and it's not working. This retURL navigates to 'https://mydomain/lightning/r/Record__c//view' which results in Page Not Found.
It seems like the record created is not updated. Any suggestions how this can be resolved and the user directed be navigated to the record created?
Greetings!
I don't think this can directly redirect to the newly created record without using any customization.
Please refer the sample component with the flow which will guide you on how to redirect once the flow finished.
https://automationchampion.com/2019/04/16/getting-started-with-lightning-flow-part-4-need-to-redirect-a-user-to-a-new-record/
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri