Discovery Data Precedence rule

Nisha30
Kilo Sage

Hello Experts,

 

We have discovered CI in environment 

Have multiple Data source - SCCM, Solarwinds , ServiceNow, Cloud etc..

 

'Discovery Source' was ServiceNow before we had another Data sources. Now since we have other SOurce they have updated the 'Discovery Source' as Solarwinds.

 

We created Data Precedence rule on CI classes. 

 

But after next schedule ran it did not updated the 'Discovery Source' Field = ServiceNow.

 

What has to be done to make it ServiceNow since 'ServiceNow' has been given the lowest order.

 

Thanks

1 REPLY 1

YashwanthV18760
Giga Guru

Hello @Nisha30 

 

To update the 'Discovery Source' field to ServiceNow, even when it has the lowest data precedence, follow these steps:

  1. Update the system property glide.discovery.source_name to "ServiceNow".
  2. Modify the dictionary entry for the Configuration Item [cmdb_ci] table:
    • Navigate to the discovery_source field.
    • Update the choice list to include only "ServiceNow" (if required for consistency).
  3. Manually update existing records:
    • Open the Configuration Item [cmdb_ci] table.
    • Filter records based on the current Discovery Source value.
    • Use the Update All option to set the value to "ServiceNow".
  4. Update the Source [sys_object_source] table:
    • Filter relevant records.
    • Use Update All to set the name field to "ServiceNow".

Important Note:

  • Reconciliation rules cannot be configured for the Discovery Source field.
  • Updates from a lower-priority source (like ServiceNow in this case) will only be accepted:
    • If it is the first update, or
    • If the CI attribute is considered stale based on data refresh rules.