AnsweredAssumed Answered

Exception management within an Activiti userTask

Question asked by cgiuliano on Feb 12, 2015
Hello everybody,
I'm struggling to manage some exceptions that might be triggered by some JavaScript code inside an Activiti userTask.

While in a serviceTask I can trigger an exception through JavaScript
throw new Error("Error message");
and I will see the "Error message" appearing in the popup dialog shown by Alfresco,
when I try to do the same within a userTask I only get an "Impossible to start the workflow…" error message: my "Error message" is only reported into the log but not visible to the final user.

Does anyone know how to deal with that?

I'm using Alfresco CE 4.2.e (with Activiti 5.13).

Thanks a lot.
Regards,
Carlo


Outcomes