Lightning Flow Redirect to newly created Record

preview_player
Показать описание
NOTE: Don't forget to activate your flows! Call component from a flow: lightning:availableForFlowScreens
Below is the component code:
Рекомендации по теме
Комментарии
Автор

You probably saved my project, and my day Pratima. THANK YOU!

carloa.burdese
Автор

This was super helpful -- many thanks for this and your other flow videos - great work.

jasonpeterson
Автор

This was SO helpful, Pratima! Thank you for this!! So useful in our org!

rachelkrzyzanowski
Автор

Nice! I was doing this with an URL pointing to the ID of the new created record on the Final Screen, but this way is much more cleaner

JaimeBIDtravel
Автор

This is very brilliant, thank you so much for sharing this!

suyihan
Автор

Thank you, Pratima! This is phenomenal. This is a function that Salesforce should have included in the standard visual flow objects. It's why my organization didn't use flows as much as we could have. What would be the point of going through the flow and at the end you have to hunt down the thing you created or updated? This makes it one stop shopping. Thank you for sharing this with us.

FYI for others... As far as I can tell object IDs are unique across the entire Salesforce instance. It doesn't matter what the object is, it will always have a unique ID. An open via the ID, I suspect will open any object in the defined page layout for that object for that profile.

gregcook
Автор

That was super easy because of this video. Love the explanations

adiansliamsdad
Автор

Thanks for this! Very helpful! Please keep posting videos like this.

TKrakowski
Автор

Hi Pratima, Great article..Thanks for sharing.

ThinkGreen
Автор

Great!! Thanks for sharing very useful

donaldjose
Автор

Not able to redirect to record page from List button. Please let me know if you have any work around.

praveenkumarGpra
Автор

very useful, I'll start following you on here after that :)

lewishowel
Автор

Hi, thanks for the video. My component isn't showing up in flow builder I have checked and it is in the lightning components list. Any ideas why?

Bumsonabudget
Автор

Hi, Pratima, thanks for sharing this wonderful lightning component! However, for the enable "Lightning Runtime for Flows", I have tested that without enabling it, the lightning component used at the end of the flow is working as if you have enabled it. So, I am not sure about the pro and con of enabling it. Any advice? Thank you!

suwang
Автор

Thanks for the video. When I tried I was getting the error RecId is not set.
I was defined the txtCaseId (This holds the newly created record) and enable it as available for output

keshavapraveen
Автор

This is great! Thanks Pratima!
It seems to work just fine from the action button but when I launch the flow from the Community site it doesn't redirect!
Any Ideas!

skumarssaa
Автор

Hello Pratima!! Thank you for sharing this great way to control the flow @ the end. BUT, I tried this line by line, and I'm not getting the redirection at the end. I don't know if it the last upgrade of SF to Winter '21, but I'm not seeing the results like the video. Thanks in advance for your help.

deslandf.vandomonagas
Автор

Awesome video Pratima. Just wanted to know if we can rename the "Next" button in footer as "Finish" since it is a last screen for someone who is cloning oppo.

Thanks anyways!

devendrapatadiya
Автор

HI Pratima - I was pretty sure I did everything correctly - but my flow is still going back to initial screen. This is in a flow that creates a new lead and then I want it to go to the new lead record. I can send a screen print of the debug but it looks like it pulled the correct ID so not sure why it's not redirecting ) :

mlemayil
Автор

I am using this flow as a Component in a Case Lightning page. It is successfully opening the new record in a subtab. however when I navigate back to the Case the Flow screen needs to be actioned. Is there a way o have this auto Finish?

adiansliamsdad