Hi Jaber,
I cannot find any way to get current environment or authenticatedUserId from expression. And I believe this is an very important and very useful feature. Could you open a jira issue for this? I think we could discuss about it later.
Thank you very much.