Identifier Rule allowing duplicates

SLeelaRaR
Tera Contributor

Hi  ,

I created one CI Class (extended from 'cmdb_ci'), in that created some attributes, created  one Identifier rule., in that rule I selected 2 fields ., and In Reconciliation Rule I selected source as IMPORT SET.

I created some records through import set  & transform map, later on that i want to check that identifier rule is working or not ., I send one record with already existing data(duplicate) in that selected fields ., After transforming was done duplicate record is created. Actually it won't allow duplicate .,  please check attached images for reference.

5 REPLIES 5

Mannapuram
Tera Guru

@SLeelaRaR  When you use Import method, the transformation map plays an important role and you need to make coalesce to true for the Serial Number and mgmt_ip. 

 

Hi @Mannapuram ., Thanks for Replying ., what you said is correct., But Then What is the use of  Creating Identifier Rule In this scenario., Here I want to Check that Identifier Rule is working or not ., if I make coalesce True , then how can I check that Identifier Rule .

 

@SLeelaRaR If you want to use IRE for the import sets, then you need to call IRE API in the transformation map in a before insert script. 

Simple import -> Use Coalesce

Import set with IRE -> Use IRE API in a before insert script in the transform map.

If you are looking for the sample script and complete details on this, here is the link:

 

https://www.servicenow.com/docs/csh?topicname=identification-import-sets.html&version=latest

 

HI @Mannapuram  ., Thanks for replying., What you said is correct., if I make coalesce is true then what is the use of creating identifier rule., Here I want to check That Identifier Rule is working or not.