- 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
11-24-2020 11:33 AM
This is helpful, thank you; my related question is...
Why do SOME tables in ServiceNow have an Active flag, while others do not? Did ServiceNow specifically decide Not to place an Active flag on the Locations table? And if so, WHY?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2022 04:30 AM
It happens the same with company (core_company). Companies also have a lifecycle as locations - people and companies perform updates to the physical and estatutory structures.
This could be the easiser post I ever read. Master Tomasi 's solution provided 5 years ago, of course resolve the issue, but adding a u_active field seems for me quite risky as it seems to be a field that should provided by the OOB solution.