Hello,
I’m trying to find a variable that can be used to read the currently logged in users username or email (as provided from SAML) for use during a reconfigure (Morpheus 5.4.5 in this case)
Historically, the only variable we could find that existed was the <%=instance.createdByEmail%>, but revisiting this I found the
morpheus.user.email
morpheus.user.username
morpheus.user.attributes
In testing, it appears at least the morpheus.user.email value must be pulling from what instances JSON and not the active user session as the displayed value for that variable matched the instance.createbyemail value, is that true?
I’m looking to find a way to read the currently logged in users email or at least username so when a reconfigure is done we can have a Workflow Task email both the listed VM Owner (as occurs now) but also the actual person who did the reconfigure so they know that task was done and completed.
Any suggestions on what variable could be used to read this value in would be greatly appreciated.
Thanks!