cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the OOTB Mail Task from Event Listener

anjan
Champ in-the-making
Champ in-the-making
Currently Activiti is having a "Mail" task that can be used in a Process Definition.  We have a requirement to send an email notification to the user when a Task gets assigned to the user.  So, we would like to add an event listener at the Process Definition level that will listen for all the "TASK_ASSIGNED" events.

Is there any way to use the OOTB mail service (i.e., send the mail from the Listener) from the event listener.  Please suggest.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
No, not out of the box. You could base your task listener logic on the MailBehaviour logic though.