AnsweredAssumed Answered

Gaining access to an error code value from Script Task?

Question asked by mindcrime on Mar 12, 2013
Latest reply on Mar 14, 2013 by frederikheremans1
Hi all, quick question… in Activiti, after a Boundary Error Event has fired in response to a BPMNError thrown from Java code, is there a way to gain access to the value of the error code which the BEE fired on, in a script task following the BEE?  Is it stored as a process variable, or is there an API call to get it?

The reason I ask, I'd like to handle multiple potential "technical" errors by rethrowing as a BPMNError, then starting a User Task for the "IT Support" group, and then - after completion of the User Task - branch back to the appropriate point in the process based on which error code was fired earlier.