[Reconciliation] How to restrict field update to a specific Data Source ?

Hamza Berouil2
Tera Guru

Hi all,

We're trying to set up a reconciliation rule to make the data source "ImportSet" updates only 1 field in the cmdb_ci_computer, so we created the following record the reconciliation rule table:

find_real_file.png

We also updated the transform map to make it go through Identification and Reconciliation rules (we put an onBefore script that calls the CMDBTransformUtil API ).

find_real_file.png

The identification works fine but not the reconciliation.

Indeed, some other fields still getting updated even if we've set ONLY the field Name in the Reconciliation rule for the Data Source ImportSet, it sounds like the reconciliation is not enabled...

We thought that, as explained in the wiki, it should prevent the data source ImportSet to update the other fields. Are we wrong ?

Thank you in advance.

5 REPLIES 5

Dave Smith1
ServiceNow Employee
ServiceNow Employee

We thought that, as explained in the wiki, it should prevent the data source ImportSet to update the other fields. Are we wrong ?


My understanding is that if no rule exists, then no barrier exists.   Hence your rule locks out any other data source for the "name" attribute, but there's nothing preventing import sets from touching other fields.


Thank you Dave.



Then, how can we prevent updating the other fields ?



We added another rule to restrict the fields OS Version to ServiceWatch data source, but the field still updated by the ImportSet data source.



Don't you think it's a bug ?


Here are the rules details :



find_real_file.png


Er.. yeah, that's not what I expected.   According to that information, Import sets should be prevented from updating os_version.



Are there any other rules, mainly on parent tables?   Have you checked the logs to see if the recon engine is logging any messages?