Home > Forum > General > Environment type

Environment type
0

Hi,

Is there a simple way to get which environment runs a process? The data should be one of the 3 possibilities: DEV, TEST, or PROD.
There are many places in Webcon settings where environment is set as "Auto", but I found no variable giving the actual name of the environment.

I know there's a table and inside is a row which offers this, but I thought there might be an environment variable offering this info rather than having another SQL call.

Thank you,
Mihail

MVP
In reply to: Jacek Wojnar

Hi,
I know it's a workaround but you can make a global constant :-)

Hi,

It's great to see, that other's are using the same approach.

Even so it's only a minor addition, but we added also a business rule to simplify this even more. For example we are using this, in the insert condition of a timeout. We have different timeouts depending on the environment. :)

Best regards,
Daniel

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.