2 Replies Latest reply: Oct 13, 2011 2:31 PM by Mauricio Salatino RSS

    Its possible to get the errorCode when a process ends?

    Marco Piraccini Newbie

      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?