currentUser
Description
Returns the key for the user that invoked the script containing currentUser.
Return Type
String
The return value represents the key of the user that triggered the script. Usually transition is executed.
Example
customfield = currentUser();
Result: customfield = <key of the current user>.
See also
Peacock