error handling in Camunda
Today we gonna learn how to handle an error in camunda.
In this example, the first process will throw an error, and the event subprocess will catch it. just we need to put in both event(the throw and catch) the same Error details,for this example (dataError)

The Bpmn file:

Now lets suppose that we gonna throw N error not only one, the solution is to set only the Error fields in the throw event error, and let the Error field of the catch event error empty.
example:


and for the catch event must be empty like this: because it will catch all the error event

all The bpmn file:

Other Camunda topics:
camunda task events notifier camunda genericuser task listener in camunda task marker multi-instance taskmarker loop in camunda feel language camunda how to work with dmn how to work with dmn how-to-use-embedded-task-form-in-camunda all-about-camunda-database error-handling-in-camunda sub-process-in-camunda gateways-in-camunda camunda-with-spring-boot-example task-in-camunda events-in-camunda





