AnsweredAssumed Answered

Obtain Environment ID/Name at runtime?

Question asked by Adam Arrowsmith Employee on Apr 7, 2015
Latest reply on May 9, 2018 by jhart@freeportlng.com
Branched to a new discussion

Is there any way at runtime to obtain the environment ID/name on which the process is currently executing, via scripting or otherwise?

 

I know one option is to get the Atom ID via scripting and then do a series of AtomSphere API calls to get the enviornment attachment and then environment, but would like to avoid external calls (both performance and cloud data volume).

 

Use case is the desire to perform conditional process logic if running in a test environment vs. production.

Outcomes