Application Service fields: Used For vs Environment not syncing

Johnathan R
Tera Contributor

I am noticing there are two fields that capture the same data, yet do not sync with each other.

On Calculated Application Service I have 'Used For' on the form. You choose Production, Staging, etc
Yet on all CMDB items they inherit the 'Environment' field from cmdb_ci, which also has Production, Staging, etc - this is not visible on the form.

 

They do not sync with each other, creating confusion when in list view, or doing reporting. I have folks selecting 'Used For: Staging' on an app service, but then in list view if you add 'Environment' its default is 'Production'.

 

I can make a BR that syncs them, but wondering why I have to clean this up? Anyone else run into this? What the heck.

2 REPLIES 2

Niklas Peterson
Mega Sage
Mega Sage

Hi @Johnathan R

 

Used For is a legacy attribute which is superseded by Environment which was placed higher up in the hierarchy making it available on all classes. If you want to keep it in sync with environment then yes, a BR is required.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1115829

 

Regards,
Niklas

AJ-TechTrek
Giga Sage
Giga Sage

Hi @Johnathan R ,

 

I agreed , Application Service Table having two field Like Used For and Environment, This is upto use which we want to use for Application Service Record as both field having same information except Used For having more dropdown as compared Environment and Cmdb_ci having only Environment.

 

Also Used for is used when you want to use for more specific with Environment but there is OOB no relationship

 

Refer the below docs from ServiceNow where only having information for Environment for application Service.

 

https://docs.servicenow.com/bundle/washingtondc-application-portfolio-management/page/product/applic...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

Ajay Kumar

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024