Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Flow Screen Input Component: Multi-Select Table

          Flow Screen Input Component: Multi-Select Table

          Display a table with a checkbox next to each row in the table. A user can select one or more rows in the table.

          Required Editions

          Available in: Lightning Experience
          Available in: Professional, Enterprise, and Unlimited Editions
          A multi-select table component with five rows

          For information about adding screen components to your flow screen, see Screen.

          Note
          Note This screen component requires Lightning runtime.

          Configure the Multi-Select Table Component

          You can select resources from the flow, such as variables or global constants, or you can manually enter a value.

          Attribute Description
          Columns

          Required. Defines columns for the table.

          Add a Text collection variable that contains a list of field API names that you want to include in the table.

          Records

          Required. Defines rows for the table.

          Add a Text collection variable that contains a list of record IDs that you want to include in the table.

          Ensure that the variable contains at least one record ID. Otherwise, the component shows an error message when you run the flow.

          Editable Column

          Enter the API name of the column that you want to be editable in the table.

          You can have only one editable column, and it must be one of the columns that you entered in the Columns field.

          Error Messages Add a Text variable to store error messages returned by the component.
          Selectable Rows If it’s set to $GlobalConstant.True, the rows in the table are selectable. By default, it’s set to $GlobalConstant.False.
          Selected Records

          Add a Text collection variable to store the selected records.

          To access individual record IDs, create a loop that iterates over this collection variable.

          Store the Multi-Select Table Component’s Values in the Flow

          The flow stores values automatically. If you store values manually, store the attribute’s output value in a variable.

          To store values manually, select Manually assign variables (advanced).

          All attributes are available to store in flow variables, but the Selected Records attribute is the most likely attribute to store.

          To store the records that the user selected, map the Selected Records attribute to a text collection variable.

          Tip
          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
          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.
          Example
          Example

          In a Dispute Transactions flow, a table shows all the transactions for the selected financial account. Users can select one or more transactions that they want to dispute.

          1. Define the columns for the table.
            1. Create a Text collection variable.
            2. Use an Assignment element to assign the API names of the fields to the Text collection variable. The fields must be from the same object. Add the fields in the order in which you want them to appear in the table.
              Edit Assignment window
            3. Connect the Assignment element at the appropriate place in the flow.
          2. Define the rows for the table.
            1. Create a Record collection variable.
            2. Use a Get Records element to populate the Record collection variable with the records that you want to include in the table.
            3. Create a Text collection variable.
            4. Create a loop that iterates over the Record collection variable to fetch individual record IDs. Within the loop, use an Assignment element to add the fetched record IDs to the Text collection variable.
            5. At the end of the loop, use the Text collection variable as an input to the table.

            When a user runs the flow, the table shows all the transactions for the financial account that the user selects.

            A multi-select table component with two rows selected
           
          Loading
          Salesforce Help | Article