Deploying Normalization Data Services
Solution Overview
Need to reduce duplication company records and model records because of discovery data? Well deploy Normalization Data Services with these steps.
Detailed Description
Deploy the Normalization Data Services following the Guided setup as documented via the doc site. Step through each 6 tasks. When you get to "Update Reference Qualifiers" just let it update the few records. My update set and steps below will help update the 700+ company reference fields.
Solution
Attached update set creates a new script include "canonicalServiceFilterCustom" to handle the missing filters needed for OOTB company fields that reference the company table. The automated steps via the Guided setup does not update any reference fields that has a condition. Ex: vender field on the asset table is filter down to vendor = true. Update set also creates three new dynamic filter options to handle these use cases with filter options on the company table. The new filters are "getCoreCompanyFilterCustomer", "getCoreCompanyFilterVendor" and "getCoreCompanyFilterManufacturer". Once update set is committed we need to do some manual updates as needed. So please open a new update set and track these changes.
Nav to sys_dictionary table. I update my list view to match below screenshot.
Based on screenshot above you will noticed some records do not have the new "CanonicalFilter" selected for the Dynamic ref qual. Reason why, the system in the steps during setup does not update any reference record with a reference qual. So to fix this, we will use the custom script include and dynamic filters I created via update set.
Example sets to update records:
- Filter n reference qual "vendor=trueEQ" (Should have at least 2 records)
- Do a bulk update
- select the "Use dynamic default" rows and change to true
- Select the "Dynamic ref qual" rows and change to "getCoreCompanyFilterVendor"Should have something like below:
- select the "Use dynamic default" rows and change to true
- Repeat sets 1 - 2 for others like customer = true
https://www.servicenow.com/community/now-platform-articles/deploying-normalization-data-services/ta-p/2309609