Question
· Apr 19, 2021

Create a variable to check if on test or live environment

Hi all,

I need some help in studio.

Is there a way to create a variable to determine if it is in the test or live environment?

Thanks

Adrian

Product version: HealthShare 2020.1
Discussion (7)2
Log in or sign up to continue

Hello Adrian,

Some people already talked about the system mode for the portal, but John (one of your commenters) previously wrote a different post about adding information to the terminal prompt itself which may be useful as well:

https://community.intersystems.com/post/where-am-i-adding-extra-information-terminal-prompt

There's a documentation link on that page, but you can have your terminal be prefixed by host name or instance name, for example.