cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Mail Task - few mail are not going using Activti Mail Task

ritesh1_k_gupta
Champ in-the-making
Champ in-the-making
Hi,

we have used the activiti mail task in the workflow. Few mail have not been going throught the activiti mail task. I am able to see the details in the ACT_RU_JOB (in the EXCEPTION_MSG_ Column it showing the message " Could not send email in execution + process instance id ". There are 1522 times this task is used for sending the email - out of which 20 times the mail was not went through the email task.  In the Application Logs, there are no exception which tells about why the mail was not sent 20 times. The only place where I can the find the details that was not sent it is in ACT_RU_JOB.

could you please help on it to find the reason that why the mail was not going.

Thanks,
Ritesh
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
You can get the full stacktrace by calling ManagementService#getJobExceptionStacktrace(String)

ritesh1_k_gupta
Champ in-the-making
Champ in-the-making
Thanks for the reply. we have the application in the production enviroment.
is it possible to check the Activiti table in the Database to check the exception for the logs - why the emai was not sent 2O out of 1500. Thanks, Ritesh