Advanced Flow Navigation Button from GravityLab

Dan Howell and GravityLab have made available an advanced Flow Navigation Button with no fewer than 12 built-in features, including:

  1. Add bespoke navigation options in a flow. For example, replace the “Next” button with a “Save and View” button.
  2. Launch new record or edit page. For example, launch the create new account page with a specific record type.
  3. Auto launch a quick action. For example, automatically launch the new opportunity quick action when an account with the type “prospect” is created.
  4. Navigate to another page. For example, auto navigate to another record page when a certain status is reached.

Documentation and Installation

WARNING: Remember that navigation ONLY works in Lightning experience, including launches from Quick Action buttons and flow component on Lightning Pages. It does not work in Flows run from Setup

0 0 vote
Article Rating
Subscribe
Notify of
guest
19 Comments
Inline Feedbacks
View all comments
Chase
Chase
6 months ago

Awesome component! I have a couple issues though…

When I use the button to launch a flow with a screen containing a datatable, the modal width is too small and part of the table hangs off the edge. Is there any way to increase the width of the modal?

Also, is there a way to make all the buttons on a screen the same size? Adding spaces to the label doesn’t seem to work.

Cole Prato
Cole Prato
6 months ago
Reply to  Chase

Same issue here.. I was able to change this in the “Launch Flow in a Modal” components source code to get around this but since this managed I can’t.

Chase Kaiser
Chase Kaiser
6 months ago
Reply to  Cole Prato

I just set a boolean to true in the button-clicked output parameter and used a decision to launch a subflow. That way it stays in the same container as your parent flow

Cole Prato
Cole Prato
6 months ago

You can add this to the component that renders the modal for the flow, this will make the modal bigger so there is more popover side.

.slds-modal__container{
max-width: 70rem !important;
width:70% !important;
}

Angie
Angie
19 hours ago
Reply to  Cole Prato

Hi Cole,
I am not a developer
but I know enough to be able to add bits of code here and there…
Can you advise the component for which I would add this? Or advise how I can figure this out?
Thanks in advance

 the component that renders the modal for the flow

Krista Santucci
Krista Santucci
5 months ago

Can I install this in a sandbox? It doesn’t seem to be allowing me to do that.

Chase
Chase
5 months ago

When it asks you to log in, change the url from login to test

Krista Santucci
Krista Santucci
5 months ago
Reply to  Chase

Thank you. I was able to get that to work. Is there a way I can get the text in this button to replace the next button? I can create an entirely new button, and change the label to ‘Submit’, or whatever I want but there are two problems: 1. Nothing happens when I click the button on the flow component, so it’s not moving to the next step in my flow which is to create a new record. 2: There is no way to get the previous button to display next to this submit button.

Chase
Chase
5 months ago

1. As far as I can tell, the only functionalities that actually work in this component are the “Flow Action” and URL options. The Create Record, launch action, flow, etc. all do not work as advertised. My assumption is they all relied on url hacking, which isn’t officially supported by salesforce and has changed quite a bit in lightning. You can google salesforce lightning url hacking to see what is still possible. I know its possible to edit records with a url hack but not sure if its possible to create one. 2. If you want to use these buttons… Read more »

ericsplayground
Editor
5 months ago
Reply to  Chase

The Navigation Button component on this site may do what your are looking for.
https://unofficialsf.com/fsc-navigation-button/

Raul Ramos
2 months ago

Hi, I did try it, but the redirect to a record option, it is only working on classic, but on on lightning.

Nash Hindes
Nash Hindes
12 days ago
Reply to  Chase

Hi Chase! When you say that one of the functionalities that work is “URL options”, are you referring to the “Navigate to Url” option? If so, can you provide any pointers as to how you got this to work? I’ve tried a gazillion ways of doing this and nothing seems to work…but I’m probably missing something silly. Thanks in advance!

Alex Edelstein
Admin
12 days ago
Reply to  Nash Hindes

Hi, Nash. This might explain things: WARNING: Remember that navigation ONLY works in Lightning experience, including launches from Quick Action buttons and flow component on Lightning Pages. It does not work in Flows run from Setup

Chase Kaiser
Chase Kaiser
10 days ago
Reply to  Nash Hindes

As Alex said, make sure you are testing your flow in a production or sandbox environment (not with “Run” or “Debug” from the flow builder). If you are using an internal relative url, use the URLFOR() function in a formula variable and use the variable as the hyperlink. If it is a static url, you should just be able to paste it as is. I believe there may also be a “Navigate to URL” true/false input that would need to be set to true, but that is from memory as I do not have it in front of me. If… Read more »

CharlieL
2 months ago

is it possible to set a button as disabled?

Chase Kaiser
Chase Kaiser
10 days ago
Reply to  CharlieL

You could create 2 buttons with identical labels, one brand and one neutral, and use conditional visibility to determine which one is displayed

Abe
Abe
4 days ago

Great component!
 
This was working perfectly for us, however, the “Auto Start without button press” option just stopped working for us, we think because our org was just updated to the new summer 20 release.
 
Has anyone else experienced this? If so, is there a work around? Or a newer version that we could install?
 
Any help / feedback is appreciated.

Angie
Angie
20 hours ago
Reply to  Abe

Same issue here.
Any update on the “auto start” not working issue?
I use this functionality to close out my flow after my users have created a record and i ask them if they want to create another without them having to click on a finish screen….
 

Angie
Angie
19 hours ago

 “Auto Start without button press” option Not Working
 
Same issue here. After Summer 2020 Release

Any update on the “auto start” not working issue?
I use this functionality to close out my flow after my users have created a record and i ask them if they want to create another without them having to click on a finish screen….