Boundary error exception details

Hello,

in case we catch an boundary error event, do we have access to an exception itself? Indeed BPMN notation doesn't specify this, but practicallywe consider this information useful (e.g. to display in the error handling task instead of digging in the logs)

Have fun

          Gabriel

Hi,

No, there is no information about the exception details. Note that in some cases there will not be a real exception (exception Java with stack trace). Thre are two main ways to throw an BPM Error Event in Bonita:

1) using a End Error Event: in this case there is no exception. The error is throw because in your process design you have decided that if the execution has taken this path, it's an error and some action must be taken (path from boundary catch Error). The only information you have is the error code.

2) during the connector execution you can choose between "put the activity in failed state", "ignore and contine", "throw error event". In the last case a named BPM Error will be thrown but you will not have the information about the Java exception thrown by the connector. If you want you can add a feature request this.

Regards

Thank you for the answer, it makes thinkgs clear(er) :)