---
schema_version: "1"
id: 33a8aa465f7ab30694822c5ad133cf716d44434173685f1363a4c07c38b36b34
title: Manage Data Integration Rules for Field Service
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/fs_location_tracking.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.fs_location_tracking.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1993d9fd96cc3a1976812f90c394f70f6e17c2f401ee28c4904a779905eee41a
description: Set up data integration rules to ensure that service resource travel time is accurately calculated.
products:
  - Field Service
release: "264"
---
# Manage Data Integration Rules for Field Service

Set up data integration rules to ensure that service resource travel time is accurately calculated.

### 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: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Agentforce Field Service and Operations core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

When you add a street address to certain types of field service records, Salesforce calculates the address’s latitude, longitude, and location accuracy. You can reference this data, which is visible only in the API, in any custom field service applications. Geolocation information is used to calculate service resource travel times if the Field Service managed package is installed.

This geolocation data feature, known as “geocoding”, is enabled for all supported field service objects when you enable Field Service. The API contains values for the three fields in the following table on:

- Work orders
- Work order line items
- Service appointments
- Service territories
- Resource absences
- Service territory members

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d129955e98">Field Name</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d129955e101">Description</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d129955e98 ">Latitude</td>

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

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

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

        </tr>
        <tr class="">
          <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d129955e98 ">GeocodeAccuracy</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d129955e101 ">
            <p>The accuracy of the latitude and longitude. This field contains one of the
              following values, listed in order from most to least accurate:</p>
            <ul>
              <li>Address: In the same building</li>
              <li>NearAddress: Near the address</li>
              <li>Block: Midway point of the block</li>
              <li>Street: Midway point of the street</li>
              <li>ExtendedZip: Center of the extended ZIP code area</li>
              <li>Zip: Center of the ZIP code area</li>
              <li>Neighborhood: Center of the neighborhood</li>
              <li>City: Center of the city</li>
              <li>County: Center of the county</li>
              <li>State: Center of the state</li>
              <li>Unknown: No match for the address was found (for instance, the address is
                invalid)</li>
            </ul>
          </td>

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

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_note.png)

Note Because Google Maps is restricted in China, Field Service features that depend on Google Maps don’t work there.

## Keep Geocoding Data Current

Salesforce uses data integration rules to periodically refresh these three fields. A refresh occurs when:

- The record is created or updated
- The record type’s data integration rule is deactivated and reactivated

Allow some time for the geocoding fields to refresh. The processing time varies based on the number of records being updated.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_note.png)

Note If bulk geocoding is turned off for a data integration rule, deactivating or reactivating the rule doesn't refresh the geocoding fields. Bulk geocoding is enabled by default.

To keep an eye on the status of a record’s geocoding data:

- In Lightning Experience: On the record, select **Check for New Data** in the action menu.
- In Salesforce Classic: Add the Data Integration Rules related list to the detail page layout of the records you’d like to track. The related list includes:
    - The time the record’s geocoding data was last refreshed.
    - The record’s geocoding status. To learn what each status means, see [Statuses for Data Integration](https://help.salesforce.com/articleView?id=data_dot_com_clean_clean_rule_clean_statuses.htm&language=en_US). A status of In Sync means that your geocoding data is current.
    - An **Update** link that lets you manually run an instant refresh.

## Opt out of Geocoding

If you’re already using another geocoding service, opt out of Field Service geocoding:

1. From Setup, enter Data Integration in the Quick Find box, then select **Data Integration Rules**.
2. Click **Deactivate** next to the following rules.
    - Geocodes for Work Order Address
    - Geocodes for Work Order Line Item Address
    - Geocodes for Service Appointment Address
    - Geocodes for Service Territory Address
    - Geocodes for Service Territory Member Address
    - Geocodes for Resource Absence Address

#### See Also

- [Track Service Resource Geolocation with the Field Service Mobile App](https://help.salesforce.com/s/articleView?id=service.mfs_resource_tracking.htm&release=264.0.0&type=5 "Use geolocation to manage your mobile workforce. You can exclude certain users from geolocation tracking.")