How to exclude Ci from on vCenter Discovery?

Vini
Giga Guru

Hi All,

We are discovering vcenters Infrastructure in ServiceNow Jekartha version.

As per client Requirement

1. we need to exclude Cluster or ESX Server with the name "PCF".

2. We need to exclude the VMWare Instance name start with "insyfhydvp%"

Can we exclude them from discovery?.

Regards,

Vinil.

1 ACCEPTED SOLUTION

bernyalvarado
Mega Sage

Hi Vinil,



One option is to write an onBefore insert business rule that aborts the insertion when the CI meets the criteria that you mention. Keep in mind these business rules will need to be written against the appropriate tables and you will need to add the line current.setAbortAction(true); so that the insert is aborted and the CI does not get created.



Thanks,


Berny


View solution in original post

2 REPLIES 2

bernyalvarado
Mega Sage

Hi Vinil,



One option is to write an onBefore insert business rule that aborts the insertion when the CI meets the criteria that you mention. Keep in mind these business rules will need to be written against the appropriate tables and you will need to add the line current.setAbortAction(true); so that the insert is aborted and the CI does not get created.



Thanks,


Berny


bernyalvarado
Mega Sage

Hi vinilreddy, do you believe you can go to How to exclude Ci from on vCenter Discovery? and mark the response as correct so that we can close this thread?



Thanks,


Berny