Is there a way from inside a server event to get the current environment (whether it is Development or Production)? There seem to be any number of ways to get the value of the environment variables within that environment, but there doesn't look to be an easy way to get which environment the process is running within. I could parse the Workflow Server environment field, but I don't want my process to be dependent on the name of the K2 server.
Is there a way to do this?