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

BoundaryErrorEvent StructureRef is not resolved for exception handler

    XMLWordPrintable

Details

    Description

      If you set structureRef for BoundaryErrorEvent (In Eclipse Bpmn2 Diagram Editor, "Definitions" => "Error List" => 'Data Type' in 'Error Details'), it looks like that structureRef indicates Exception type to catch. But in reality, BoundaryEventHandler sets exceptionHandler to ExceptionScope with key 'ItemDefinition_4' as-is without resolving the itemDefinition.

        <bpmn2:itemDefinition id="ItemDefinition_4" structureRef="java.lang.RuntimeException"/>
        <bpmn2:error id="Error_1" errorCode="com.sample.UnknownException" name="Error_1" structureRef="ItemDefinition_4"/>
          <bpmn2:boundaryEvent id="BoundaryEvent_1" name="MyBoundaryErrorEvent" attachedToRef="SubProcess_1">
      ...
            <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" errorRef="Error_1"/>
          </bpmn2:boundaryEvent>
      

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: