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

Error handling of script tasks with async mode enabled

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.16.0.Final
    • 7.15.0.Final
    • Runtime Engine
    • None
    • 1
    • NEW
    • NEW
    • 2018 Week 48-50

      When AsyncMode is enabled (via environment entries of deployment descriptor) then errors thrown from action nodes will be handled but the flow continues.

      The reason for that is that lock is kept on process instance and thus the error handling (which is executed in background due to AsyncMode) is not able to perform it's work. Instead the control is returned to the failing node which assumes that error was already handled and can move on regular path. This leads to completing node that thrown exception and thus going to the next one in line. This should be improved to avoid moving on, by canceling the failing node just before handling the error.

              swiderski.maciej Maciej Swiderski (Inactive)
              swiderski.maciej Maciej Swiderski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: