Handle ScriptEvaluationException with Error Boundary Event

I need to be able to chatch and handle ScriptEvaluationException which may happen during a script task.
The process I’m trying to configure looks like the one in the image.

I don’t understand how to configure Error Boundary Event in a way that catches the error and
makes the process flow go through the handling activity.
Is that even possible?
If not what alternatives have I got?

Many thanks.

image

Hi Leonardo!
Camunda recommends to handle technical errors in cockpit directly.
https://docs.camunda.org/manual/latest/user-guide/process-engine/error-handling/

But, if you prefere to handler explicitly, do have put the error code in Cath Error Event. Do you can get this error code in cockpit incident stack trace.

1 Like