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

9 replies
  1. Chase
    Chase says:

    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 says:

      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 says:

        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

  2. Cole Prato
    Cole Prato says:

    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.

    max-width: 70rem !important;
    width:70% !important;

      • Krista Santucci
        Krista Santucci says:

        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 says:

          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 as navigation buttons, you need to remove the footer from the flow screen and create your own Previous and Submit buttons, with the flow actions set as previous and next, respectively


Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply