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

Default handler for BoundaryErrorEvent to meet BPMN2 spec

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 6.2.0.Final
    • jBPM 6.2.0.CR3
    • Runtime Engine
    • None

    Description

      BPMN2 spec tells that If errorCode is not set, catch all errors (= It becomes a default exception handler).

      Table 8.41 – Error attributes and model associations
      
      structureRef : ItemDefinition [0..1] | An ItemDefinition is used to define the “payload” of the Error.
      
      name : string | The descriptive name of the Error.
      
      errorCode: string | For an End Event:
         If the result is an Error, then the errorCode MUST be supplied (if the processType attribute of the Process is set to execut-able) This “throws” the Error.
                          For an Intermediate Event within normal flow:
         If the trigger is an Error, then the errorCode MUST be entered (if the processType attribute of the Process is set to execut-
      able). This “throws” the Error.
                          For an Intermediate Event attached to the boundary of an Activity:
         If the trigger is an Error, then the errorCode MAY be entered. This Event “catches” the Error. If there is no errorCode, then any error SHALL trigger the Event. If there is an errorCode, then only an Error that matches the errorCode SHALL trigger the Event.
      

      But current jBPM implementation doesn't register the default ('null' key) exception handler when errorCode doesn't exist.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: