[jboss-user] [jBPM] - Its possible to get the errorCode when aprocess ends?

Marco Piraccini do-not-reply at jboss.com
Tue Oct 11 11:14:07 EDT 2011


Marco Piraccini [http://community.jboss.org/people/mpiraccini] created the discussion

"Its possible to get the errorCode when aprocess ends?"

To view the discussion, visit: http://community.jboss.org/message/631181#631181

--------------------------------------------------------------
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
[http://community.jboss.org/message/631181#631181]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111011/7ede3392/attachment.html 


More information about the jboss-user mailing list