Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-5618

No execution-until-wait-state semantics for nested API invocations

XMLWordPrintable

      Have a JavaDelegate that starts another process instance. When the instantiation API invocation returns, the process instance has not yet advanced to the first wait state, but to the first asyncCapable atomic operation. The remaining steps are completed later in the same transaction after the JavaDelegate has finished (or never, if the executions are ended in between, for example due to a terminate end event).

      Test case: https://github.com/camunda/camunda-bpm-platform/commit/cf35b5ca226a3b7876480004475317a9e80210a8

      Solution idea:
      Move the list of queued AtomicOperations (queuedOperations) from CommandContext to CommandInvocationContext such that it exists once per command.

        This is the controller panel for Smart Panels app

              thorben.lindhauer Thorben Lindhauer
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: