createOrUpdateCIEnhanced ignoring Identification Inclusion rule

Kelly Logan
Kilo Sage

Hello all,

I'm on San Diego, using a scheduled job script to pull data into the CMDB from a third party source. Once I pull the data and format a JSON object to hand to it, I am using a call to SNC.IdentificationEngineScriptableApi.createOrUpdateCIEnhanced() to hand that data to the IRE. That works great but there are some CIs in the CMDB that we don't want to update and instead want to create new versions of where necessary. I have tried setting them with 'Operational Status' = "Retired" and then creating a Identification Inclusion rule at the Hardware class level to tell the IRE to ignore these retired devices, but it continues to match anyway. 

I have tried 'Operational Status' is not "Retired", 'Operational Status' is one of {everything *but* Retired}, even 'Operational Status' = "Repair in Progress" for testing purposes to try and stop all matches, but the IRE ignores them all and keeps matching. The device I am testing with is being placed in the 'Personal Computer' class and has a NIC related to it. The ID rules are otherwise pretty OOB:

KellyLogan_0-1668809684622.png

...

KellyLogan_1-1668809705792.png

I have gone through the documentation again and haven't found any mention of a known issue with Inclusion rules or any option for turning them on or off. Does anyone else have any experience with this or advice on how I could get this working as desired? Again, the primary goal is to have a set of CIs that will not be touched by the incoming data and will create new CIs that would otherwise be matches and overwrite the old data. I'm open to other methods. 

 

 

 

 

5 REPLIES 5

can you check the scripting API on a PDI if it works and passes the cmdb via IRE

Regards,
Anshu