Home SalesforceFlow Multi Select Lookup in Screen Flow

Multi Select Lookup in Screen Flow

by Dhanik Lal Sahni

Lookup Component is used to give autocomplete search capability in Salesforce Flow. We can use a standard lookup component to create a multi-select lookup. This post will give detail on how to use multi select Lookup in Salesforce Screen Flow.

Multi Select lookup capability is added in Salesforce Winter ’23. Earlier we were able to use single record selection.

Configure Multi-Select Lookup

To configure the lookup component we will need the lookup relationship field in the object. So create or use any lookup field for configuring it.

Let us see each input property to configure.

  1. Field API Name – Put lookup field information in this property
  2. Label– Provide a label to show on the lookup components like Select Users or Select Approvers
  3. Object API Name– Object API where Field API Name is created or available.
  4. Maximum Selections– Maximum number which can be selected. If we will not provide it will take 1 as the default value.
  5. Record ID– Record id which we want to show as selected record in lookup component. This should we used when maximum row selection is 1.
  6. Record ID Collection– Record ids which we want to show as selected record in lookup component. This should we used when maximum row selection is greater than 1.
  7. Required – Set this when you want to make it required component.
Lookup Component in Screen Flow | Lookup Component in Flow

Output Properties

  1. Record ID- This will give selected record id
  2. Record ID Collection- This will give all selected record ids
  3. Record Name – This will give selected record name field’s value.
Output Of Screen Flow Lookup | Multi Select Lookup in Screen Flow

Demo Video:

This demo video is showing lookup for user object in case object. I have created user lookup field in case object.

References:

Select Multiple Records in the Lookup Flow Screen Component

Related Post

Post Chatter Feed Using FeedItem in Flow

Data Table in Screen Flow

Generic Multi-Select Lookup Component

You may also like

8 comments

Shaikh Abdul Khadir May 5, 2023 - 7:12 am

Soo How can we display it on the Detail Record page ,the selected Contacts

Reply
Dhanik Lal Sahni May 5, 2023 - 1:36 pm

Hello Abdul,

You can create a Screen Flow to add a multi-select lookup input field and show selected records. That flow you can add to the page layout.

Thank You,
Dhanik

Reply
What is Salesforce Administrator Job Profile? - SalesforceCodex June 11, 2023 - 3:57 pm

[…] Multi Select Lookup in Screen Flow […]

Reply
Data Table in Screen Flow - SalesforceCodex June 12, 2023 - 4:05 am

[…] Multi Select Lookup in Screen Flow […]

Reply
Apex Enhancement in Salesforce Winter ’23 - SalesforceCodex June 12, 2023 - 4:16 am

[…] Multi Select Lookup in Screen Flow […]

Reply
Post Chatter Feed Using FeedItem in Flow - SalesforceCodex June 12, 2023 - 4:19 am

[…] Multi Select Lookup in Screen Flow […]

Reply
What is Salesforce Genie? - Salesforce Codex June 13, 2023 - 6:04 am

[…] Multi Select Lookup in Screen Flow […]

Reply
Types of Relationship in Salesforce - SalesforceCodex July 9, 2023 - 2:41 am

[…] Multi Select Lookup in Screen Flow […]

Reply

Leave a Comment

Top 10 Best Practices for Lightning Flow Facts and Statistics for Salesforce’s Size and Market Share Top 5 Contract Management Salesforce Apps Top 10 Enterprise Integration Use Cases Top 10 SOQL Best Practices