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

Rethrow error handling strategy does not trigger the error event

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.39.0.Final
    • Runtime Engine
    • None
    • NEW
    • NEW
    • Hide
      1. Launch the main process, it create an exception since it tries to perform a REST call against localhost:8081
      2. After 10 second a Human Task is created to handle the exception
      3. Open the task, select "RETHROW" and submit
      4. The exception is not handled and flow back to the user
      Show
      Launch the main process, it create an exception since it tries to perform a REST call against localhost:8081 After 10 second a Human Task is created to handle the exception Open the task, select "RETHROW" and submit The exception is not handled and flow back to the user

    Description

      I'm using error handling strategy to have a fine grain control on the exception generated by a work item handler.

      My goal is to trigger an exception from the error handling process (RETHROW strategy) and manage this exception with the boundary error event in the process that initially generated the exception.

      In the following repository in the rethrow branch, you can find a reproducer: 

      https://github.com/dmarrazzo/error-handling-strategy/tree/rethrow

      When the rethrow strategy is triggered, the original process is not able to catch the exception and the error flow back to the human task that triggers the strategy.

      The main process has a boundary error event on the WIH that generated the exception, so it should be able to catch the exception.

      Attachments

        Activity

          People

            elguardian@gmail.com Enrique González Martínez (Inactive)
            dmarrazz@redhat.com Donato Marrazzo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: