cancel
Showing results for 
Search instead for 
Did you mean: 

Email Task Exceptions

conradi
Champ in-the-making
Champ in-the-making
Hi,

The email task is a quite useful simple task - however, I think in it's current form it is hardly usable in a productive environment: any failure (be it a missing / invalid email address or a failure on the server side) is propagated as exception to the workflow, where it cannot be handled gracefully. <!–break–> It is possible to write a delegate for that or to write an own mail task - and we have done exactly that. More precisely, we have changed the activiti implementation by writing the error information into process variables: The workflow can then e.g. query for this process variables in a gateway.

I know the problem has been discussed here before (e.g. http://forums.activiti.org/content/how-can-i-manage-errors-generated-mailtask, in particular http://forums.activiti.org/comment/8887#comment-8887), but would nevertheless like to to ask again: How is the chance for an out of the box mail task implementation which offers more support for exception handling?

Heinz-Dieter
11 REPLIES 11

conradi
Champ in-the-making
Champ in-the-making
I have realized that the user documentation needs an update too and have attached a patch.

trademak
Star Contributor
Star Contributor
Thanks, I've applied the patch.

Best regards,
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.