In order to work, you must configure the EnvQuery to each of your environment's server names.
After installing the Environment Information component you can call the service "WhereAmI" to get a struct that is
You can use these to dynamically evaluate components as the application moves through the Dev, Test, Prod lifecycle.
TIPS & TRICKSSimply replace outsystems_DEV with the name of your Dev server and outsystems_QA with the name of your QA or TEST environmentFor expanded use, you can also replace them with input params, e.g. when @@servername = ' + In1 + ' then ''DEV''The default is PROD if no matching case is foundIf you have more than DEV and QA, you can add an additional WHEN: e.g. when @@servername = ''outsystems_other'' then ''other''TROUBLESHOOTING:If you are not seeing expected results, @@servername can be replaced with DB_NAME() function this will most likely be the case for Dev environments vs QA environmentsBest used in an OnPrem solutionEnjoy!