Back to Browse

Create a Reactive Screen | Quick Start: Build Reactive Screen Flows

539 views
Jan 4, 2025
18:18

#salesforce #trailhead #salesforcetrailhead #salesforceadmins Quick Start: Build Reactive Screen Flows : https://www.youtube.com/playlist?list=PLqIjn-zAqU7KZ7klrsP2MSH7Us1sf9zMq What’s going on here? The Confirmation screen component is a checkbox. Its value is always either $GlobalConstant.True or $GlobalConstant.False (or null, which is usually treated the same as $GlobalConstant.False). The flow can pull that True or False value into the configuration of another component that references the Confirmation component. When the flow reaches the Subject or Description component, it pulls the value of the Confirmation component into the Disabled setting. If the user checks the Confirmation box (True), then Disabled is True (on the Subject and Description components). Unchecking the Confirmation box instantly sets the components’ Disabled setting to False, allowing the user to edit the Subject and Description fields on the screen. To see this reactivity in action, click Run in the menubar to run the flow in a new tab. Click the “I confirm…” checkbox and watch what happens to the Subject and Description fields. Boom! Magic. And we’re just getting started. Disabled Versus Read Only The Read Only option is similar to Disabled but has some notable differences. It has a different look on some components, but it also has different accessibility considerations; using the Tab key, you can navigate between read only fields, but not disabled fields. Try running this flow using the Read Only setting instead of Disabled for the Subject and Description. 00:00 Introduction 00:20 Create a Reactive Flow 07:50 Disable a Field Reactively 09:00 Pre-Select a Picklist Value Reactively 11:11 Calculate a Date Reactively 13:55 Guide Users Reactively

Download

0 formats

No download links available.

Create a Reactive Screen | Quick Start: Build Reactive Screen Flows | NatokHD