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.

setting CDMB attribute virtual

Andreas Cierpka
Kilo Guru

When checking discovered assets in ServiceNow CMDB I can see i.e. in class <cmdb_ci_firewall_device_cisco> for each device and attriubte which is set by default as 

<virtual>false</virtual>

Is it really the case that I need to build a business rule to change this value from false to true? Because this is what I found:

Step 4: Automate the attribute (for discovered CIs) 
  1. To automatically set the attribute for discovered CIs, check for a business rule like the "Virtual Computer Check" on the cmdb_ci_computer table. This rule is often enabled by default for common virtualization platforms.
  2. The business rule will automatically flag the "Is Virtual" attribute if the CI meets the criteria (e.g., based on model ID or serial number). 

 

Is this really the way to go? I would have thought that I would define it on the model itself if it's virtual or physical.




1 REPLY 1

SAI VENKATESH
Kilo Patron
Kilo Patron

Hi @Andreas Cierpka 

 

If devices are getting discovered by sgc then you need to check the import set data what we are getting from sgc I have seen like there is a field called is virtual  and you can map them in the robust transform map .

thanks and regards 

Sai venkatesh