While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.
Overview
Example Lab Details
Version
6.15.0
Root Folder
Example Lab - Run Flow Button Visibility on a Page
Modules
None
Dependencies
None
This Example Lab project demonstrates how to toggle the visibility of two Run Flow buttons on a Page.
Explanation
This project works by using a Tile Input Flow to toggle the visibility of the "Run My Flow" button. In this example, the visibility is determined by a Rule which checks whether the Tile Input Flow was started on an even or odd millisecond value. If the Flow was started on an even value, the button is hidden and if it is started on an odd value, the button is shown. There is also a secondary button on the Page that uses the static visibility rules. This can be altered simply by checking or unchecking the "Initially Visible" and "Initially Enabled" boxes in the properties panel for that Page component.
The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.15.0 or later using our Importing/Exporting article.