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

FaultVariable information set to null when error event throwed in a subprocess

XMLWordPrintable

    • Hide

      I will add a unit test to show the problem

      Show
      I will add a unit test to show the problem

      When a subprocess ends in STATE_ABORTED due to a error event being throwed with FaultName / FaultVariable parameters defined and set, the boundary event in the parent process receives the FaultVariable data set to null.

      The reason seems to be in line 238 of org.jbpm.workflow.instance.node.SubProcessNodeInstance method processInstanceCompleted:

      exceptionScopeInstance.handleException(faultName, null);

      Instead of that "null", the FaultVariable information should be provided.

              swiderski.maciej Maciej Swiderski (Inactive)
              cavicop Jose Cavieres (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: