This content has been marked as final.
Show 1 reply
-
1. Re: JBPM 5.1 Managing exception with "Error Event"
sebb Jan 13, 2012 5:59 AM (in response to jbpm.user)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).