Identification rule not working

Ketan Pandey
Tera Expert

HI All,

I created a CMDB class Under the Base Class Configuration

New CI class Name is  IOT_Device

Attributes

IOT_AccountID

IOT_version

 

We created a Identification rule based the unique criteria i.e IOT_AccountID.This is getting failed ,Users are able to  create manually CIs with same IOT_AccountID value .Please suggest where to check

 

 

 

 

 

1 ACCEPTED SOLUTION

The IRE isn't triggered by manual creation.  You would need to create a Business Rule that runs before insert where discovery source is empty that will create a payload and call the createOrUpdateCIEnhanced API.

As @Michael de Boer mentioned you should also use the CMDB CI Class Models plugin instead of creating your own class for IoT Device.

View solution in original post

3 REPLIES 3

Ketan Pandey
Tera Expert

Please suggest how can prevent user entering Manual Duplicate CI ,It seems to be IRE not getting triggered when CIs are getting created manually.

 

Do i need to write any business rule ?

Please suggest

The IRE isn't triggered by manual creation.  You would need to create a Business Rule that runs before insert where discovery source is empty that will create a payload and call the createOrUpdateCIEnhanced API.

As @Michael de Boer mentioned you should also use the CMDB CI Class Models plugin instead of creating your own class for IoT Device.

Michael de Boer
Giga Guru

First a question:
Why create a custom CI Class?
When you use the plugin "CMDB CI Class Models" (https://store.servicenow.com/sn_appstore_store.do#!/store/application/ae99d84b2320330006c0110d96bf65...) it will add a CI Class "IoT Device" under Hardware.

https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/configuration-managemen...

It's possible to remove/hide the button "New".
Right click the columns header on the list and select List Control. Then deselect the “Omit new button” or “Omit edit button” to hide the New/Edit buttons.

Regards,

Michael

Regards,
Michael

Please mark the suggestion as helpful/like, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided has resolved your query.