Using A Form To Change A Value Across Flows
Comments
-
Is it possible to use a form to set the value of a variable in such a way so that the variable can be used in other rules/flows?
For example, an application is approved if age of applicant is greater than 25. Could we change the 25 year threshold through a form?
-
The best way to do this would be to create a data structure and fetch those values at runtime in your desired flow. Here is the documentation for each of those actions:
Additionally, here is an example. You can see in this first image I have created a data structure that saves a value of True or False in the left image. On the right I am creating an entry that has DefaultBoolean as ‘True’.
In this next image you will see a simple flow that fetches the data for DefaultBoolean from the data structure and maps that to the checkbox on the form. It then saves the results of the completed form as the value for DefaultBoolean in the data structure.
Below you will see in my first debug the checkbox defaulted to ‘True’ because of the value fetched from the data structure.
I then unchecked the box on the form and submitted. In my second debug you will see the checkbox now defaults to ‘False’ in the image below because the value in the data structure was replaced in my first debug. DefaultBoolean is now ‘False’.
Howdy, Stranger!
Categories
- 4.3K All Categories
- 74 General
- 12 Training
- 206 Installation / Setup
- 1.1K Flows
- 110 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 344 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions