---
schema_version: "1"
id: e57ae27dfcb28bf6861a08bfad2d53d8bffc776c4d03ade8e969702ec75ec1aa
title: Strategy Builder Branch Selector Element
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/nba_strategy_elements_branch_selector.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.nba_strategy_elements_branch_selector.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9f526f5daeaf667f5326a01f872f473b2a0232096b74872af381b66a59b1c2ec
description: Filter multiple branches through a branch selector and create unique expressions for each branch. If the expression is true, recommendations in the branch are allowed through and combined into a single branch.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Strategy Builder Branch Selector Element

Filter multiple branches through a branch selector and create unique expressions for each branch. If the expression is true, recommendations in the branch are allowed through and combined into a single branch.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.nba_ref_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Next Best Action.">View supported editions for Next Best Action</a>.</td></tr></tbody></table>

 
| Field | Description |
| --- | --- |
| Label | The name of the element as it appears on the canvas. |
| API Name | The API name of the element. The API name must be unique. |
| Description | Optional description of the element and how it works within the strategy. |
| Condition | Create an expression for each branch that flows through the element. If the expression is true, the recommendations in the branch are allowed through. If false, the recommendations in the branch don’t progress any further through the strategy. Condition accepts standard Salesforce formula functions. For more information, see [Formula Operators and Functions by Context](https://help.salesforce.com/s/articleView?id=platform.customize_functions.htm&language=en_US). |

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Use $Record to reference fields from the context object. The context object is the object where you intend to surface your recommendations and can be changed by editing your strategy and choosing an object under **Object Where Recommendations Display**. Example: ISPICKVAL($Record.status, 'New'). For more information, see [Write a Strategy Builder Expression](https://help.salesforce.com/s/articleView?id=platform.nba_strategy_expressions.htm&release=264.0.0&type=5 "Create unique expressions using logic from the Salesforce expression builder to filter recommendations, select or deselect branches, and determine which recommendations are available for consideration in a strategy.").

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_example.png)

Example Suppose that you want to surface recommendations on the Case object so your service agents can suggest offers to your customers. If a case has been escalated, you want to offer a special discount. To do so you, create a load element that loads the recommendations associated with your offer. Create a branch selector that only allows recommendations from the branch if the case has an escalated status. Make your offer load element a child of the branch selector element. In **Condition** on the branch selector element, use the following formula: ISPICKVAL($Record.status, 'Escalated').

## Usage

Branch selector is an important element when you want to weed out entire branches at once. Unlike a filter element, it can’t filter based on individual recommendations.

#### See Also

- [Suggest Options with Recommendation Strategies](https://help.salesforce.com/s/articleView?id=platform.einstein_next_best_action.htm&release=264.0.0&type=5 "Use Einstein Next Best Action to deliver tailored recommendations at the right moment. Define strategies that apply your business logic to surface a few high-value offers such as repairs, discounts, or add-on services. Present the final recommendations in your Automation Lightning app or Experience Builder site.")
- [Create Recommendations](https://help.salesforce.com/s/articleView?id=platform.nba_recommendations_app.htm&release=264.0.0&type=5 "Create offers or actions to recommend to users using Einstein Next Best Action. Recommendations are standard Salesforce records, similar to accounts and contacts, that are processed by strategies and associated with flows. Strategies determine which recommendation records are surfaced using business rules, predictive models, and other data sources. The result of this process is context-specific recommendations that you present to your users.")
- [Display Recommendations](https://help.salesforce.com/s/articleView?id=platform.nba_admin_using_strategies.htm&release=264.0.0&type=5 "After creating a strategy, choose a page to run your strategy and display your recommendations. You can use a Lightning record page, an app’s home page, an Experience Cloud site page, a Visualforce page, or an external site, depending on where you want recommendations to appear.")
- [Formula Operators and Functions by Context](https://help.salesforce.com/s/articleView?id=platform.customize_functions.htm&language=en_US)