How to pass an Input Variable from One Flow to Another
Overview
In this step-by-step tutorial, we'll show you how to pass an input variable from one flow to another. This involves creating and configuring variables in both flows and ensuring correct interaction with the Avonni Components Open Flow Dialog.
The Open Flow Panel interaction can also help you create a more seamless and intuitive user experience.
Step 1: Creating a Variable in the First Flow
Navigate to the first flow where you want to create the variable.
Create a new variable element. This variable can be of type text or record.
Text Variable: Use this to store and pass textual information or alphanumeric values.
Record Variable: Choose this type to hold complete records with object field values.
Configure the variable to be available for output. This step is essential as it makes the variable’s value accessible to other flows or components.
Step 2: Configuring Avonni Components Open Flow Dialog
Open the Avonni Components Open Flow Dialog interaction within your flow.
Click on the "Input Variable" button.
Enter the name of the input variable.
Ensure that this name matches the name of the variable element created in the Step 1 above.
Select the value that you want to pass to the other flow.
Choose the type of value you are passing, such as Text, Boolean, Date, etc.
Step 3: Setting Up the Second Flow
Navigate to the second flow, launched from the first flow.
Create a new variable. This variable can be text or record. Ensure it has the same name as the variable in the first flow.
Configure the variable to be available for input. This configuration is crucial as it allows the second flow to receive and utilize the value passed from the first flow.
(Optional) You can map the variable information to any Avonni Components to improve your screen flow. This allows you to utilize the information passed from your first flow to enhance the functionality and display of your components.
Final Thought
Following these steps will enable smooth data transfer between the two flows, ensuring that essential information is accessible and utilized effectively. Remember, correctly configuring variables (respecting the same name) and their accessibility settings is critical to successfully passing values between flows.
Last updated