Why midserver username is updating and creating a record in core_company table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-19-2024 08:06 AM - edited ā07-22-2024 10:52 AM
Hello All,
I have an issue where mid- server username is creating/updating a record in company (core_company) table. We dont want that record to be there. after deleting its getting created and updated and not sure from, where this record is loaded from.
checked the below places.
1. I don't see that record is being brought from import sets , scheduled jobs, scheduled loads and data sources.
2. The record is having the crated and updated timestamp and username(mid server username) same.
3. Even i delete ,next day it is getting added up, not sure where this data is coming from.
4. Checked the normalized company names, dint see that record.
5. Checked the cmdbi_ci table with manufacturer and company fields, No luck.
Please let me know are there any places where to check or open a support case with Servicenow.
Thanks
- Labels:
-
Discovery
-
Orchestration (ITOM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-19-2024 09:01 AM
Perhaps it's a business rule running on insert? Check if it's against the company table.
Check if your other instances are doing the same to isolate the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-22-2024 10:44 AM
I dont see any business rules and most of them are OOB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-19-2024 09:10 AM - edited ā07-19-2024 09:12 AM
ServiceNow's MID Server acts as an agent to transfer data between on-premises environments and the ServiceNow cloud. If records in the core_company table are being created or updated under the MID Server's username, there are several potential causes and solutions to consider.
Possible Causes
Integrations or Scripts:
- The MID Server is often used for integrations with external systems, so it's possible that data ingestion or synchronization processes are updating the core_company table.
- Check if integration scripts or ETL (Extract, Transform, Load) processes are targeting the core_company table.
Business Rules:
- Business rules or flows that trigger updates to the core_company table might be set up.
- Verify these rules or scripts to ensure that none are using the MID Server user.
Data Policies and Transform Maps:
- Transform maps and data policies used during data imports might be adding or updating records in the core_company table.
- Review these settings to ensure unnecessary records are not being created.
Scheduled Jobs on MID Server:
- Scheduled jobs run by the MID Server might be updating the core_company table.
- Check the settings of these jobs to understand what operations are being performed.
Solutions
Review Integration Settings:
- Check the integration settings within the ServiceNow instance to see if the core_company table is being updated by any external systems.
- Adjust the integration settings to prevent unnecessary updates.
Check Business Rules:
- Review business rules related to the core_company table to understand the conditions under which updates are made.
- Disable or modify these rules as needed.
Review Data Policies and Transform Maps:
- Verify transform maps and data policies used during data imports to prevent unnecessary data creation or updates.
- Adjust the settings to ensure they do not affect the core_company table undesirably.
Examine Scheduled Jobs:
- Check scheduled jobs run by the MID Server to see if any target the core_company table.
- Disable or modify unnecessary jobs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-19-2024 12:59 PM
May I ask you where you got this information from?
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/