Environment Variable Automatic population

sntech
Tera Contributor

Hi,

 

I am working to set up the cmdb configurations. 

 

Requirement is to auto populate "Environment" Field. But we did not get any specific conditions from our customers. Can anyone guide on what conditions we can define the environment field as Dev/Test/Prod?

 

I am planning to create the on before business rule.

 

 

Thank you.

 

 

 

1 REPLY 1

Vijaya_Mnpram
Kilo Sage

@sntech Are you trying to update 'Environment' for a CI with Business rule? How will you decide a particular CI belongs to which Environment if the Source you pull CI data is not providing it.

The environment field is usually populated for Cloud Resources under Tags. Those tags are pushed to ServiceNow under cmdb_key_value table. Check there for this CI, if they are pushing any environment value there? If yes, then you can use it to update in CMDB.