2 Replies Latest reply on Oct 13, 2011 2:31 PM by salaboy21

    Its possible to get the errorCode when a process ends?

    mpiraccini

      Hi guys,

       

      If I have this error definition:

      <bpmn2:error id="error" errorCode="error"/>

      And the process ends with that End event:

      <bpmn2:endEvent id="EndEvent_4" name="End">

           <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>

           <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="error"/>

      </bpmn2:endEvent>

      ...the process status is aborted (this is correct). What I expect is to get the "errorCode" in some way from the process instance...it's that  possible?