Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3397

Add the ability to get the errorCode when a process ends with an Error

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Critical
    • jBPM 5.4.0.Beta1
    • jBPM 5.1
    • Runtime Engine
    • None

    Description

      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 (aborted) process instance.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            mpiraccini_jira Marco Piraccini (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: