How to Create Reactive Collection Choice Sets in Screen Flow (Video 1:43)

Collection choice set resources can now react to changes from other components on the same screen. For example, the output of a Data Table component can populate a collection choice set, which then configures a picklist on the same screen — so each time the user changes their Data Table selection, the picklist updates to match. Previously, collection choice sets couldn't respond to changes on the same screen. This video shows how to set it up in Flow Builder, start to finish.

How It Works

The screen shows a Data Table of Accounts and a picklist below it. The picklist starts empty. As the user selects or unselects rows in the table, the selected accounts appear as picklist values in real time.

How to Build It

  1. Add a Get Records element that gets all Account records, sorted by Name in ascending order.

  2. Add a Screen with a Data Table that shows the accounts from Get Records and lets users select multiple rows.

  3. Create a Collection Choice Set resource whose collection is the Data Table's selected rows.

  4. Add a Picklist component below the Data Table and set its choices to that collection choice set.

  5. Debug the flow and select a few rows — the picklist values update instantly.

Collection choice sets became reactive in the Summer '24 release.