Add the Criteria-Based Search and Filter Component to Screen Flows
Embed the Criteria-Based Search and Filter component into guided Screen Flow processes.
Users can search and filter records mid-flow, select one or more results, and pass the selected
record IDs to subsequent flow steps for downstream processing, record creation, or automation.
Required Editions
Available in: Lightning Experience
Available in: Automotive Cloud, Consumer Goods, Health Cloud, Manufacturing Cloud,
Nonprofit Cloud, Nonprofit Cloud for Grantmaking, and Public Sector Solutions. View edition
availability. View edition availability.
User Permissions Needed
To add a component to a screen flow:
Manage Flow
To add a Criteria-Based Search and Filter component to a screen flow:
Use Criteria-Based Search and Filter system permission
In Flow Builder, add or open a Screen element in your flow.
From the Components panel, drag Criteria-Based Search and Filter
Intake onto the screen canvas.
Configure the component properties:
Search Configuration (Required): Enter the API name of an active
SearchCriteriaConfiguration metadata record (e.g., VehicleInventorySearch). This
configuration defines search criteria, filters, and result display. You can reuse
configurations from App, Home, or Record pages.
Search Context (Optional): Provide JSON to prefill and optionally
lock filter fields. Use this to carry forward selections from earlier flow screens (e.g.,
customer, location, work order). See sample structure below.
Maximum Selection (Optional): Enter a number to cap how many
records users can select. Leave blank for unlimited selection. Set to 1 for single-record
selection. When the limit is exceeded, users see a warning toast. Clicking Next while over
the limit displays an error and keeps users on the screen. This setting automatically
disables "Select all across pages" to prevent exceeding the cap.
Connect the Selected Record IDs output variable (a JSON-encoded string of record IDs) to a
Text flow variable for use in later screens, Apex actions, or record-create elements. To use
the IDs as a collection (for example, in a record-create loop), parse the JSON string first.
searchCriteriaFieldName: API name of the filter field from your search configuration
searchFieldCriteriaValueList: Array of values to prefill (supports multiple values for
multi-select fields)
readOnlyFields: Array of field API names that users cannot modify on the screen
The Search Context JSON allows you to create dynamic, context-aware search experiences where
earlier flow decisions constrain or guide the search criteria.
Hjalp denne artikkelen med å løse problemet ditt?
La oss få vite det slik at vi kan forbedre!
Laster
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.