Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Exclude class from the Duplicates

Marcin Witosla1
Tera Expert

Hello All,

Is it possible to exclude one class (cmdb_ci_patches) form checking duplictaes? 

I have checked CI Class manager and under Health Inclusion rules 

find_real_file.png

sys_class_nameINSTANCEOFcmdb_ci_appl^ORsys_class_nameINSTANCEOFcmdb_ci_batch_job^ORsys_class_nameINSTANCEOFcmdb_ci_cluster^ORsys_class_nameINSTANCEOFcmdb_ci_server^ORsys_class_nameINSTANCEOFcmdb_ci_netgear^ORsys_class_nameINSTANCEOFcmdb_ci_outofband_device^ORsys_class_nameINSTANCEOFcmdb_ci_storage_device^ORsys_class_nameINSTANCEOFcmdb_ci_cloud_ecs_cluster^ORsys_class_nameINSTANCEOFcmdb_ci_cloud_ecs_service^ORsys_class_nameINSTANCEOFcmdb_ci_cloud_load_balancer^ORsys_class_nameINSTANCEOFcmdb_ci_cloud_subnet^ORsys_class_nameINSTANCEOFcmdb_ci_compute_security_group^ORsys_class_nameINSTANCEOFcmdb_ci_vm_instance^ORsys_class_nameINSTANCEOFcmdb_ci_vcenter_object^ORsys_class_nameINSTANCEOFcmdb_ci_nas_file_system^ORsys_class_nameINSTANCEOFcmdb_ci_service^ORsys_class_nameINSTANCEOFcmdb_ci_storage_switch^ORsys_class_nameINSTANCEOFcmdb_ci_ucs_blade^ORsys_class_nameINSTANCEOFcmdb_ci_cluster_resource^ORsys_class_nameINSTANCEOFu_cmdb_ci_apigee_api_proxy^ORsys_class_nameINSTANCEOFu_cmdb_ci_hp_enclosure^ORsys_class_nameINSTANCEOFcmdb_ci_rack^ORsys_class_nameINSTANCEOFcmdb_ci_cmp_resource^operational_status=1^EQ

It cannot be edited.Should i add a new Inclusion rule with cmdb_ci_patches class and opertional status is opertional to the Duplicate metric ?

Kind Regards

Marcin

 

 

3 REPLIES 3

Deepti Rajvansh
Tera Contributor

Hi,

You have to add new rule for cmdb_ci_patches to exculude it.

Please mark my response correct/helpful as applicable!

 

Thanks & Regards,

Deepti

Should this rule have Duplicate metric ?

How to test it after that?

Kind Regards

Marcin

doug_schulze
ServiceNow Employee
ServiceNow Employee

In the class manager add an exception in the health inclusion rule..

 

find_real_file.png