AnsweredAssumed Answered

Email Task Exceptions

Question asked by conradi on Jun 26, 2013
Latest reply on May 6, 2014 by trademak
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

Outcomes