A Catch event without code catch all errors. Is that the expected behavior?

Hello

A sub-process can generate different BPMN Error (throw end events, connectors with a policy 'throws a BPMN Event').

On my Call Activity, I place a boundary event, without any "associate error", plus a transition to "manageSubError tasks"

When I execute my process, if an error is thrown from the sub-process (and whatever the error), then the boundary catch the error and goes to the "manageSubError" tasks.

 Is that the expected behavior or a Side effect?

Can I have sure that I will have the same behavior in 7.11, 7.12, etc. ?

 

 

 

 

Hi,

as it is explained in the associated error field of the catch error event:

"This is the error code that will be caught, if no error code is set all kinds of errors will be caught (including errors from connectors)"

So it is the expected and it is not likely to change as it would be an API break

HTH

Romain