Auto Navigate with Screen Refresh
Created by Eric Smith
This Post was most recently updated on: 12/21/24
Current Version: 1.0.0

This component is designed to be used on a Flow Screen when you need to refresh the console tabs and/or automatically navigate to the previous or next screen. The refresh and navigation can be further controlled by making this component conditionally visible so the action(s) will only occur when the conditional visibility is true. The conditional visibility can be reactive to other logic on the screen or elsewhere in your flow thereby providing reactive navigation without requiring the user to click a button.
Usage
To use this component, add it to a Flow Screen and assign conditional visibility to control the navigation. If the component is visible, the navigation will occur. If the component is not visible, nothing will happen.
NOTE: Formulas cannot be used to directly control conditional visibility but you can use my Reactive Conditional Visibility component that is part of the Base Packs to accomplish this.
Refresh Console Tab
The following example shows how the component can be used to refresh the contents of the current console tab after you have made some updates in your flow.
Simple Conditional Visibility for Navigation
This example shows how the component can be used to automate navigation forward and backwards in a flow.
Complex Flow Logic for Navigation
Here are a few ideas on how flow components other than buttons can be used for navigation as well as being able to control navigation based on more complex logic from the flow. The final use case shows how a row action in a Datatable can be used to update the selected record and refresh the Datatable.
Auto Advance on File Upload
This example shows how you can auto-advance to the next screen after the user uploads some files with the File Upload Improved component.
Screen Component Name
Auto Navigate + Console Tab Refresh
Attributes
| Attribute | Type | Notes |
| INPUT | ||
| navDirection | Text | Navigation Direction – Next, Forward, Previous or Back – (Default Next) |
| skipRefresh | Boolean | Skip Console Tab Refresh? – Set to True to skip the console tab refresh step – (Default False) |
Installation
Production or Developer Version 1.0.0
Sandbox Version 1.0.0
Release Notes
11/27/24 – Eric Smith – v1.0.0
Initial Release
Previous Versions
11/27/24 – Eric Smith – v1.0.0
Initial Release
Production or Developer Version 1.0
Sandbox Version 1.0.0
