droolsjbpm/jbpm — pull request #105 by mswiderski (2012-05-11 10:17:49+00:00)
Title: JBPM-3397-Add the ability to get the errorCode when a process ends with an Error

Add a method (getOutcome) to ProcessInstance to be able to retrieve outcome of the process instance, currently on error end events will set it to fault name (aka error code).
Extends BAM module to log following information for process instance:
* end state of process instance
* parent process instance id to have relationship for subprocesses
* outcome of the process instance