Open Modal
Last updated
Last updated
The Open Modal Action is used to open a Web Flow as a modal. When a Web flow is opened as a modal, the user must finish the modal Flow before returning to the screen that opened it. This is useful for creating confirmation screens, or for creating a flow where the user can fill out information and then easily return to where they were in the app.
To confirm an action to continue
To ensure the user accepts Terms & Conditions before continuing
To allow the user to escalate to an agent from anywhere in the App by clicking on a customized App Header
To allow the user to create or edit data in a list. For instance, in the GIF below, a modal opens when the user presses the Edit Info button, which allows them to edit their car information
The Web Flow that will be used as a modal. Web Flows can be created and managed from Web Flows Builder.
If the selected Web Flow has Variables, these fields specify their initial values. This makes it possible to send custom data to the opened modal.
The only Variables that can be set by the Open Modal Action are ones at the Activity Group scope level.
The Web Flow opened by the Open Web Modal Action must use the Close Modal Action to be closed. When the Close Modal Action is called, its Return Value will be sent to Output.
If the Close Web Modal Action runs with Is Successful unchecked, the Return Value will be NULL.
In this example, when hitting the Button Control, an Open Modal Actions opens a Terms and Conditions Web Flow for users to complete before leaving the app.