cancel
Showing results for 
Search instead for 
Did you mean: 

Process initiator properties (eMail)

mjacobi
Champ in-the-making
Champ in-the-making
Hi,

I would like to send a e-mail to the initiator of the process. I know that I can use the property
activiti:initiator
to get the username of the initiator. But how do I get the e-mail address of that user in order to send the e-mail?

I have found this snippet
${initiator.properties.email}
, but it didn't work for me. I'am using Activiti 5.13.

Thanks!

Cheers
Malte
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Are you using the Activiti identity tables to store the information about the users? Then you can retrieve it from there. If the user comes from another identity store, you should look for that information there.

Best regards,

mjacobi
Champ in-the-making
Champ in-the-making
I am using the Activiti identity tables. So, how can I retrieve that information from there? Maybe a "build-in" solution for that requirement?

Cheers

trademak
Star Contributor
Star Contributor
You can use the identity service from a service task to retrieve details about a specific user, including the email address.

Best regards,