- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2017 06:58 AM
Good morning,
Is there a way to make locations inactive in ServiceNow? We imported current(updated) locations from AD and users now have the correct locations within their company. However, the "old" locatoins are still available in the drop down menu. We do not want users to see these depricated locations.
Thank you!
Heather
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2017 07:03 AM
Hi Heather,
Here's how I would handle this - without deleting any of the previous records, because deleting can cause issues with broken references.
- Create a new field on the location (cmn_location) called Active (u_active) and make it a true/false field.
- Make the locations you want to appear active (true) and those that you don't, leave unchecked.
- Create a before/query business rule that automatically filters for the active records only. Use the "user query" business rule as an example (substitute YOURINSTANCE for your instance name in the following URL

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2020 10:19 AM
Chuck,
This is something that I have learned from you by watching you create custom tables for applications. I have this issue and determined that this is what I would need to do. I looked it up in the community just to be sure and here we are. Thank you for this post! With this and some reference qualifiers I will be able to hide some locations on my SP forms without deleting any data.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 12:32 AM
CHUCK,
what is the scriot that should be used in business rule

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 06:15 AM
I think Chuck was suggesting that you pull up the existing "user query" business rule and use that as an example. It looks like this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2017 07:03 AM
On your Location Reference field you can put a reference qualifier (reference qual condition) to only show certain locations.
For example you could create a new field on the location form and point your reference field to show only those that are checked ('true')

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2017 07:09 AM
Great idea Cheyenne,
FWIW, a reference qualifier was my first idea, but then realized you would have to make it available on all fields that reference cmn_location, which could be a rather large effort. A before query business rule acts more like a "global" reference qualifier.
Thanks for bringing up the option - in the event this only applies to one field, this is a great solution. We just covered reference qualifiers on yesterday's TechNow episode #36.