It's totally possible! When you are creating the new record you have the option to kinda save the ID for it and use it later on in your flow When creating a single variable, down on the create element screen you have Manually Assign Variables checkbox. Mark it and use a new text variable to save the ID in. Once you are done with your logic, add a screen with a display text in it and pass the ID ( use it as a link ) in the text box, where actually the user is going to click on. Don't forget to remove the standard footer, this is it :)
@SFDC Khan hello sir thank you for this amazing information can you guide us for getting the custom object code which we have to use in action button url..
* Custom Objects. Starts incrementing from a00 * Reference Link: help.salesforce.com/s/articleView?id=000325244&type=1 You can use the below code in Developer Console to find the Prefix of your Custom Object: Schema.DescribeSObjectResult schemaObj = Your_Custom_Object_Name__c.sObjectType.getDescribe(); System.debug('Custom Object Prefix: ' + schemaObj.getKeyPrefix());
I was searching this through so many blogs and articles . Thanks so much bro :)
Glad you like it 😊
Exactly what I needed!!! Thank you!!!
Glad that it helped 😊
Can we make that Url dynamic so that It should redirect me to the whatever list view I use to trigger the flow?
I don’t think currently there is a way to make it dynamic somehow or at least as per my knowledge
Great content! Is there a way to do the same thing except to redirect immediately to the newly created record instead of the list view?
I guess there must be I haven't tried this in a list view button flow.
It's totally possible! When you are creating the new record you have the option to kinda save the ID for it and use it later on in your flow
When creating a single variable, down on the create element screen you have Manually Assign Variables checkbox. Mark it and use a new text variable to save the ID in.
Once you are done with your logic, add a screen with a display text in it and pass the ID ( use it as a link ) in the text box, where actually the user is going to click on.
Don't forget to remove the standard footer, this is it :)
@SFDC Khan hello sir thank you for this amazing information can you guide us for getting the custom object code which we have to use in action button url..
* Custom Objects. Starts incrementing from a00 *
Reference Link: help.salesforce.com/s/articleView?id=000325244&type=1
You can use the below code in Developer Console to find the Prefix of your Custom Object:
Schema.DescribeSObjectResult schemaObj = Your_Custom_Object_Name__c.sObjectType.getDescribe();
System.debug('Custom Object Prefix: ' + schemaObj.getKeyPrefix());
i just used Action: OpenURL at the end of the flow. that works every time. url = to the url you want it to go after. and mode = replace
Awesome, I'll have a look into that.. Thankyou so much :)
Hi can you also help like how to refresh the page after flow completes and return url
I never tried this.
Thank you ✌
Welcome 😊
can you please tell how to use lwc for navigation
Do you want me to show only LWC for navigation?
OR using an LWC inside flow for navigation?
Thank you so so much you saved me
So glad to see it helped you 🤗