---
schema_version: "1"
id: 0b809b9be2768d36d656d2efc878ddfdc911f8f95e4f6ec42df682c71a2c5e8f
title: "Flow Screen Component: Select Service Territory"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/ls_flowscreencmp_select_srvc_territory.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.ls_flowscreencmp_select_srvc_territory.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bf6aaa8c1bdd27721136b083db90cb85c6d7539b9ac44a6f176017a8e40e93b1
description: Enables users to select a service territory (branch or office location).
products:
  - Scheduler
  - Salesforce Platform
release: "264"
---
# Flow Screen Component: Select Service Territory

Enables users to select a service territory (branch or office location).

### 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;">Available in: Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

![Image of the screen that enables users to select a service territory.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-scheduler-264-0-0-production-enus/0530be2f-891f-4263-a0d7-96ddca56a717/scheduler/images/ls_flowscreencomponents_select_service_territory.png)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20.97087378640777%">
          <col style="width:43.689320388349515%">
          <col style="width:35.33980582524271%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d15521e75">Attribute</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d15521e78">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d15521e81">Additional Information</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">API Name</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">Use underscores and alphanumeric characters without spaces. Begin the name with
              a letter, don’t end the name with an underscore, and don’t use two consecutive
              underscores.</td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input</li>

                <li>Data type: String</li>

                <li>Used in: All outbound and inbound flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">City</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The city of the service territory.</p>
              <p style="margin-bottom:0;">Example: San Francisco</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Country</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The country of the service territory.</p>
              <p style="margin-bottom:0;">Example: United States</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Distance</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The search radius from the specified location. All the service territories in
                this search radius appear.</p>
              <p>Values can be specified in miles (mi) or kilometers (km). Supported values
                are:</p>
              <ul>
                <li>Miles: 5, 10, 25, 50, and 100</li>

                <li>Kilometers: 10, 20, 50, 100, and 200</li>

              </ul>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input and Output</li>

                <li>Data type: Integer</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Distance Unit</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">The unit of the Distance attribute. Valid values are km and mi.</td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Filter by Service Territory IDs</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>A comma-separated list of service territory IDs that are used to filter service
                territories.</p>
              <p>If a value is set, the component shows only the associated service resources.</p>
              <p style="margin-bottom:0;">Example: 0Hhxx0000004DUuCAM, 0Hhxx0000004DEhCAM</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Filter by Resource IDs</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>A comma-separated list of resource IDs that are used to filter service
                territories.</p>
              <p>If a value is set, the component shows only supported service territories for
                these service resources.</p>
              <p style="margin-bottom:0;">Example: 0Hnxx0000004DdpCAE, 0Hnxx0000004DscCAE</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Hide Operating Hours</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">Indicates whether the operating hours of the service territories are hidden. If
              this value is set to true, the operating hours of the service territory don’t
              appear.</td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Latitude</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The latitude of the location entered by users. Latitude is auto-populated when a
                user selects a value suggested by Google search.</p>
              <p style="margin-bottom:0;">Example: 37.7898</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input and Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Location</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The keywords entered to search for a service territory.</p>
              <p style="margin-bottom:0;">Example: Salesforce Tower, San Francisco, CA, USA</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input and Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Longitude</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The longitude of the location entered by users. Longitude is auto-populated when
                a user selects a value suggested by Google search.</p>
              <p style="margin-bottom:0;">Example: –122.39695</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input and Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Postal Code</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The postal code of the service territory.</p>
              <p style="margin-bottom:0;">Example: 94105</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Service Resource</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The ID of the service resource whose territories are shown.</p>
              <p style="margin-bottom:0;">Example: 0Hnxx0000004DdpCAE</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Service Territory</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The ID of the service territory.</p>
              <p style="margin-bottom:0;">Example: 0Hhxx0000004DUuCAM</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input and Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">State</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The state of the service territory.</p>
              <p style="margin-bottom:0;">Example: CA</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Street</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">The street of the service territory.</td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Validations</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The error messages in the Select Service Territory component.</p>
              <p style="margin-bottom:0;">This value is auto-populated. For example, the attribute stores the error message
                that’s generated when a user tries to navigate to the next screen without
                selecting a location.</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input and Output</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e75 ">Work Type Group</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e78 ">
              <p>The ID of the work type group that's used to filter service territories.</p>
              <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                <div class="slds-media slds-media_responsive">
                  <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-scheduler-264-0-0-production-enus/0530be2f-891f-4263-a0d7-96ddca56a717/images/icon_note.png" alt="Note"></span></div>
                  <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> Always set a value for this attribute.</div>
                </div>
              </div>
              <p style="margin-bottom:0;">Example: 0VSxx0000004D0GGAU</p>
            </td>

            <td data-label="Additional Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d15521e81 ">
              <ul>
                <li>Type: Input</li>

                <li>Data type: String</li>

                <li>Used in: All outbound, inbound, and guest flows</li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>

#### See Also

- [_Unofficial SF_: Location Screen Tips and Tricks](https://unofficialsf.com/location-screen-tips-and-tricks/)