- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 07:32 PM
Hello Everyone,
There are some existing data on the [cmn_location] table, [sys_user] table, and [core_company] table in my company's development instance, verification instance, and commercial instances.
I would like to know if it is possible to delete the data from these three tables. What is the impact of deleting this data?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 08:34 PM
Hi,
Deleting data from the "cmn_location," "sys_user," and "core_company" tables in ServiceNow can have significant implications on the functioning of your instances. Before proceeding with data deletion, it's crucial to understand the potential impacts and carefully plan your actions. Here's a general overview of the potential impacts of deleting data from these tables:
cmn_location Table:
- The "cmn_location" table stores location information, which is used for various purposes in the system, such as associating users with locations, organizing assets, and managing configuration items.
- Deleting location data could impact the accuracy of reporting, asset management, and other processes that rely on location information.
- Users assigned to specific locations might be affected, leading to data inconsistencies.
sys_user Table:
- The "sys_user" table contains user records, including essential details like usernames, email addresses, and roles.
- Deleting user records could lead to access issues, workflow interruptions, and reporting inaccuracies.
- Deleted user records might cause audit trail gaps and affect historical data.
core_company Table:
- The "core_company" table stores information about companies or organizations within your instance.
- Deleting company records could affect various processes that use company data, such as incident assignments, workflows, and data separation.
- Deleting a company might lead to data loss in associated records or workflows that depend on company data.
Important Considerations:
- Deleted data is usually irrecoverable. Make sure you have proper backups and a well-documented plan before proceeding.
- Impact can vary based on your instance's customizations, integrations, and business processes. Conduct thorough testing in a non-production environment.
- Data dependencies: Ensure that you understand relationships between these tables and other parts of your system, such as references, foreign keys, and dependencies in scripts and workflows.
- Compliance: Deleting user and company data might have implications for audit trails, security, and compliance requirements.
Recommendations:
- Backup: Before proceeding, take backups of your instances, including data and configurations.
- Test: Perform comprehensive testing in a controlled environment to understand the impact and potential issues.
- Consultation: Consult with ServiceNow administrators, developers, and stakeholders to discuss the implications and potential alternatives.
- Archiving: Consider archiving or deactivating data instead of outright deletion, especially for user and company records.
- Phased Approach: If deletion is necessary, consider a phased approach, deleting a small subset first and monitoring the impact before proceeding further.
Due to the complexity and potential risks involved, it's recommended to engage with ServiceNow experts or consultants who can provide tailored guidance based on your specific instance and requirements.
Thanks,
Rahul Kumar
Thanks,
Rahul Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 08:34 PM
Hi,
Deleting data from the "cmn_location," "sys_user," and "core_company" tables in ServiceNow can have significant implications on the functioning of your instances. Before proceeding with data deletion, it's crucial to understand the potential impacts and carefully plan your actions. Here's a general overview of the potential impacts of deleting data from these tables:
cmn_location Table:
- The "cmn_location" table stores location information, which is used for various purposes in the system, such as associating users with locations, organizing assets, and managing configuration items.
- Deleting location data could impact the accuracy of reporting, asset management, and other processes that rely on location information.
- Users assigned to specific locations might be affected, leading to data inconsistencies.
sys_user Table:
- The "sys_user" table contains user records, including essential details like usernames, email addresses, and roles.
- Deleting user records could lead to access issues, workflow interruptions, and reporting inaccuracies.
- Deleted user records might cause audit trail gaps and affect historical data.
core_company Table:
- The "core_company" table stores information about companies or organizations within your instance.
- Deleting company records could affect various processes that use company data, such as incident assignments, workflows, and data separation.
- Deleting a company might lead to data loss in associated records or workflows that depend on company data.
Important Considerations:
- Deleted data is usually irrecoverable. Make sure you have proper backups and a well-documented plan before proceeding.
- Impact can vary based on your instance's customizations, integrations, and business processes. Conduct thorough testing in a non-production environment.
- Data dependencies: Ensure that you understand relationships between these tables and other parts of your system, such as references, foreign keys, and dependencies in scripts and workflows.
- Compliance: Deleting user and company data might have implications for audit trails, security, and compliance requirements.
Recommendations:
- Backup: Before proceeding, take backups of your instances, including data and configurations.
- Test: Perform comprehensive testing in a controlled environment to understand the impact and potential issues.
- Consultation: Consult with ServiceNow administrators, developers, and stakeholders to discuss the implications and potential alternatives.
- Archiving: Consider archiving or deactivating data instead of outright deletion, especially for user and company records.
- Phased Approach: If deletion is necessary, consider a phased approach, deleting a small subset first and monitoring the impact before proceeding further.
Due to the complexity and potential risks involved, it's recommended to engage with ServiceNow experts or consultants who can provide tailored guidance based on your specific instance and requirements.
Thanks,
Rahul Kumar
Thanks,
Rahul Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 08:47 PM - edited 08-08-2023 01:17 AM
And in commercial instance, these three tables actually only have very little data