Propagate error payload to catching execution

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.3.0, 7.3.0-alpha3
    • Affects Version/s: None
    • Component/s: engine

      It is currently not possible to pass additional variables from an error event, such as a detailed error message, etc., to the catching execution.

      This applies to

      • error events
      • code that throws BpmnError, such as delegates, listeners, etc.

      In particular, if you have a catch-all error handler, then it is not possible to find out which error was caught.

      Proposed solution:

      The catching error handler defines the name of a Variable into which the error code of a message can be mapped:

      <boudaryEvent attachedToRef="...">
        <errorEventDefinition errorRef="myError" camunda:errorCodeVariable="someVariableName" />
      </boundaryEvent>
      

      The variable with name "someVariableName" will then contain the error code of the error which was caught.

            Assignee:
            Roman Smirnov
            Reporter:
            Thorben Lindhauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: