Hi all,
I have a process which throws an ConnectorException with code and message in the connector. Exception is caught correctly by the error boundary event and process flow is executed correctly. However, i do not see any process variables which contain error code and message. Documentation says i should define output mapping on the error boundary event. But i do not find any example how to define this mapping.
Does anyone know how to define the output mapping so i can see the error code and message in process variables?
Here is my process:
Here is the part of code in the connector which signals error:
throw new ConnectorException("DB-CONNECTOR-ERROR", e);
This is how the error is thrown in BPMN:
How do i create output mapping for error boundary event to see the error code and message as process varibales?