cancel
Showing results for 
Search instead for 
Did you mean: 

Expression for logged in user email id

kavi
Champ in-the-making
Champ in-the-making
Hi ,

What is the expression for logged in user email id?
eg: for current user we use ${initiator}. Same way what should i use for initiator email id?

Thanks,
kavi
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Kavi,

Currently, there is variable exposed by default for this. A (bit dirty) workaround is to use an executionListener on the mail-task that is fired on "create" (or "start", check userguide for this). That listener is plain Java, and you can just set a variable on the execution, containing the value of Authentication.getAuthenticatedUserId().