How to code to obtain the current running environment

0
If my app has three running environments (development/test/production), how to code to obtain the current running environment?
asked
2 answers
1

Hi Tian,

 

Yes you are correct Constant will resolve the issue.

Also you can use Community Commons below Java Action also to fine environment

  • GetApplicationUrl – This returns the runtime URL of this application.

Hope it Helps!

Thanks & Regards,

Manikandan K

answered
0

It has been solved by defining constants.

answered