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

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.1.2, 7.2.0-alpha1
    • Component/s: engine
    • Labels:
      None

      Description

      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

        Attachments

        1. testProcess.png
          48 kB
          Sebastian Menski

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: