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

Task Executions in Event Subprocesses are added to the wrong parent execution

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.2.0, 7.1.2, 7.2.0-alpha1
    • None
    • engine
    • None

      See User Forum:
      https://groups.google.com/forum/#!topic/camunda-bpm-users/stUk2r5BBjs

      Reproduce steps:

      • create a process with a subprocess and an inner non interrupting message event subprocess
      • send the triggering message of the event subprocess multiple times

      Problem:

      • the parent execution of the task executions created inside of the event subprocess are not set to the outer subprocess but to the process instance (except for the first event subprocess user task)
      • because of the wrong parent execution the created tasks inside of the event subprocesses are not terminated by the terminating end event inside the outer subprocess

      Expected behavior:

      • the parent execution of the user tasks inside the event subprocess is set correctly to the outer subprocess
      • the terminating end event deletes all tasks inside the subprocess

      Hints (optional):

      • the problem seems to be inside the AtomicOperationCreateConcurrentExecution where the task are added to the parent of the subprocess (line 240) instead of the subprocess itself

        This is the controller panel for Smart Panels app

          1. testProcess.png
            48 kB
            Sebastian Menski

              meyer Daniel Meyer
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: