Flow Screen Input Component: Screen Button
Add a custom button to the body of your screen.
Required Editions
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, and Unlimited Editions |
For information about adding screen components to your flow screen, see Screen.
Note This screen component requires Lightning runtime.
Configure the Screen Button Component
| Attribute | Description |
|---|---|
| Button Value | Whether the button was clicked. This attribute accepts single-value Boolean resources. |
| Label | The label for the button. This attribute accepts single-value resources. The value is treated as text. |
Store the Screen Button Component’s Values in the Flow
All attributes are available to store in flow variables, but Button Value is the most likely attribute to store. The value is assigned when the user navigates to the next screen.
To store the user’s action, map the Button Value attribute to a Boolean flow variable or a Boolean field on a record variable.
Tip By default, screen components that run on Lightning runtime version 58 and prior
have no memory. If a user enters a value, and then does one of the these, the value is lost. a)
Navigates to another screen and returns to the component’s screen. b) Pauses the flow then
resumes it. c) Navigates to the next screen and triggers an input validation error.
Tip Setting the attribute enables a flow to remember the value. The flow stores the
value automatically. If you store values manually, store the attribute’s output value in a
variable.
Did this article solve your issue?
Let us know so we can improve!

