Device location determination
Device location determination identifies the number of impacted devices at each location based on configurable logic.
Identify the number of impacted devices by location by configuring custom logic for location determination. Device location can be set using three predefined configurations. DEX administrators configure this behavior using the sn_dex.location_determination system property. This property controls how DEX determines the location of each device in the Computer [cmdb_ci_computer] table, which is used for reporting and alerting.
default_gateway_determined_location
Location determination logic: DEX uses the default gateway of the device to determine the location.
- Identify the default gateway IP address of the device.
- Match this gateway to the switches in cmdb_ci_ip_switch.
The assigned location of the switch is identified as the device’s location. If not, the device is marked as Remote (see Remote location format logic).
Note:
When sn_dex.location_determination is set to default_gateway_determined_location to make the Geomap work on the DEX dashboard:
- Verify that the State and Country fields in the location (
cmn_location) records associated with thecmdb_ci_ip_switchtable use standard codes that match the values in thesys_report_map_source_mappingtable. - Verify that the latitude and longitude values are populated correctly in the associated location records.
device_user_assigned_location
Location determination logic: DEX prefers the device’s assigned location and falls back to the employee’s location if needed.
- Use the device’s location from cmdb_ci_computer.
- If unavailable, use the owner’s location from sys_user.
If neither option is set, the device is marked as Remote (see Remote location format logic).
Note:
When sn_dex.location_determination is set to device_user_assigned_location to make the Geomap work on the DEX dashboard:
- Verify that the state and country fields in the location records associated with the
cmdb_ci_computerandsys_usertables use standard codes that match the values in thesys_report_map_source_mappingtable. - Verify that the latitude and longitude values are populated correctly in the associated location records.
geoIP_determined_location
geoIP_determined_location is the default option.
Location determination logic: DEX uses GeoIP based on network connectivity to determine the location using the GeoIP data.
When a device is marked as Remote, DEX uses GeoIP to determine the Region or State and Country. With an admin role, you can set the format (Remote, State, Country, or Remote, Country) in sys_property sn_dex.remote_location_config.
- The
countryformat: Remote, Country (For example, Remote, USA), where the country is determined by GeoIP. - The
include_stateformat: Remote, CA, USA, where state and country are determined by GeoIP.
Note:
When sn_dex.location_determination is set to geoIP_determined_location, to make the Geomap work on the DEX dashboard, no manual configuration is required. DEX automatically populates the state, country, latitude, and longitude values.
Parent Topic:DEX advanced configuration
--- title: Device location determination description: Device location determination identifies the number of impacted devices at each location based on configurable logic. locale: en-US canonical_url: https://www.servicenow.com/docs/r/it-operations-management/digital-end-user-experience-dex/location-determination.html release: brazil product: Digital End-User Experience \(DEX\) classification: digital-end-user-experience-dex topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 2 breadcrumb: [DEX advanced configuration, Configure, Digital End-User Experience, IT Operations Management] --- # Device location determination Device location determination identifies the number of impacted devices at each location based on configurable logic. Identify the number of impacted devices by location by configuring custom logic for location determination. Device location can be set using three predefined configurations. DEX administrators configure this behavior using the **sn\_dex.location\_determination** system property. This property controls how DEX determines the location of each device in the Computer \[cmdb\_ci\_computer\] table, which is used for reporting and alerting. ## default\_gateway\_determined\_location Location determination logic: DEX uses the default gateway of the device to determine the location. - Identify the default gateway IP address of the device. - Match this gateway to the switches in cmdb\_ci\_ip\_switch. The assigned location of the switch is identified as the device’s location. If not, the device is marked as Remote \(see Remote location format logic\). **Note:** When `sn_dex.location_determination` is set to `default_gateway_determined_location` to make the Geomap work on the DEX dashboard: - Verify that the State and Country fields in the location \(`cmn_location`\) records associated with the `cmdb_ci_ip_switch` table use standard codes that match the values in the `sys_report_map_source_mapping` table. - Verify that the latitude and longitude values are populated correctly in the associated location records. ## device\_user\_assigned\_location Location determination logic: DEX prefers the device’s assigned location and falls back to the employee’s location if needed. - Use the device’s location from cmdb\_ci\_computer. - If unavailable, use the owner’s location from sys\_user. If neither option is set, the device is marked as Remote \(see Remote location format logic\). **Note:** When `sn_dex.location_determination` is set to `device_user_assigned_location` to make the Geomap work on the DEX dashboard: - Verify that the state and country fields in the location records associated with the `cmdb_ci_computer` and `sys_user` tables use standard codes that match the values in the `sys_report_map_source_mapping` table. - Verify that the latitude and longitude values are populated correctly in the associated location records. ## geoIP\_determined\_location `geoIP_determined_location` is the default option. Location determination logic: DEX uses GeoIP based on network connectivity to determine the location using the GeoIP data. When a device is marked as Remote, DEX uses GeoIP to determine the Region or State and Country. With an admin role, you can set the format \(Remote, State, Country, or Remote, Country\) in `sys_property` `sn_dex.remote_location_config`. - The `country` format: Remote, Country \(For example, Remote, USA\), where the country is determined by GeoIP. - The `include_state` format: Remote, CA, USA, where state and country are determined by GeoIP. **Note:** When `sn_dex.location_determination` is set to `geoIP_determined_location`, to make the Geomap work on the DEX dashboard, no manual configuration is required. DEX automatically populates the state, country, latitude, and longitude values. **Parent Topic:**[DEX advanced configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/digital-end-user-experience-dex/dex-advanced-configuration.md)
| title | Device location determination |
| description | Device location determination identifies the number of impacted devices at each location based on configurable logic. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-operations-management/digital-end-user-experience-dex/location-determination.html |
| release | brazil |
| product | Digital End-User Experience \(DEX\) |
| classification | digital-end-user-experience-dex |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | DEX advanced configurationConfigureDigital End-User ExperienceIT Operations Management |