I am just curious why nobody is answering this question. I have the same problem.
I'd like to react to an error event and send the error description to an external service.
Just to clear it up:
- I have set up a process var called "errorvar"
- I have an error event with property FaultVariable set to "errorvar"
- The surrounding process has an exception handler with property FaultVariable set to "errorvar" and the java code "System.out.println("error");"
Ending the process with the described error event does nothing.
Oh and btw. how can I even set a value to the FaultVariable in an error event (something like information about which work item didnt do what was expected).