JBoss Community

Its possible to get the errorCode when aprocess ends?

created by Marco Piraccini in jBPM - View the full discussion

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?

Reply to this message by going to Community

Start a new discussion in jBPM at Community