NOW-DSC-DOMAIN_DATA_INVALID_DOMAIN_TABLES |
---|
Severity | Error |
---|
Root Cause |
When data is imported that references domains that don't exist on the destination instance, the sys_ids will be saved, but will not reference a valid domain. Additionally, if a domain is deleted and the appropriate correction has not yet been made to the data table to account for the new domain, the data records will not reference a valid domain.
|
---|
Effect |
Data that is pointing to an invalid domain cannot be viewed by users other than global.
|
---|
Corrective Action |
Follow the steps below:
- Determine which of the two attached scripts you will need:
- To validate table data and fix any inconsistencies: Validate_and_Fix.txt
- To simply validate data without fixing inconsistencies: Only_Validate.txt
- Ensure that you are in the global domain.
- Navigate to System Maintenance > Scripts - Background.
- Cut the script from the attachment file and paste it into Scripts - Background.
- Locate the TODO comment in the script code.
- On the line below the comment, replace INSERT_TABLENAME_HERE with the name of the domain-separated table on which to run the script.
- Click the "run script" button.
- The script is complete when you see a message that starts with either:
Data validation successful
or
Data validation unsuccessful
|
---|
The world works with ServiceNow.