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.

How to know instance is production instance or not

Dhaval Bhimani1
Kilo Expert

I want to find my instance is production instance or not.

I have changed my instance name so it didn't contain dev or ven. I'm working with scoped applicaton so "glideutils" is not useful. I have tried "glide.installation.production" system property but it is set to true for both production as well as non production instance.

I have refer - https://community.servicenow.com/community?id=community_question&sys_id=6aa58feddbd8dbc01dcaf3231f96... even though i'm not able to get desired solution.

It would be helpful if anyone help here...

11 REPLIES 11

chris_k
Kilo Contributor

can you wrap the GlideUtil call within a global script include, accessible from all scopes, similar to solution here?

https://hi.service-now.com/kb_view.do?sysparm_article=KB0716317

Luuk Vonk
Tera Guru

Please check the "sn_appclient.instance_type" system property for this information.