Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Finding current environment/application in Groovy

I am trying to find what the current environment is (planning, planning-test etc) in a Groovy script so we can automatically switch of emails sent to user in test and dev applications. I have search and looked at the API but I cannot find a solution. Has anyone solved this problem?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!