We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-8945

Calling Process Instance is not cancelled when modifying Called Process Instance

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.9.0, 7.7.9, 7.8.6, 7.9.0-alpha4
    • None
    • engine
    • None

      Steps to reproduce:
      1) deploy a process foo with a multi instance call activity
      2) deploy another process bar that contains a user task (bar is called by foo)
      3) start a process instance of foo
      4) perform the following modification:

          runtimeService.createModification("bar")
            .startAfterActivity("userTask")
            .cancelAllForActivity("userTask")
            .processInstanceIds(...)
            .execute();
      

      Observed Behavior:
      The calling process instance of foo is still active.

      Expected Behavior:
      The calling process instance of foo is cancelled.

      Hints:

      • see failing test cases [1] and [2]

      [1]: https://github.com/camunda/camunda-bpm-platform/blob/6056ad9aa8047e1477e20cbcec75a1b497eaceb4/engine/src/test/java/org/camunda/bpm/engine/test/api/runtime/ProcessInstanceModificationSubProcessTest.java#L499-L543
      [2]: https://github.com/camunda/camunda-bpm-platform/blob/6056ad9aa8047e1477e20cbcec75a1b497eaceb4/engine/src/test/java/org/camunda/bpm/engine/test/api/runtime/ProcessInstanceModificationSubProcessTest.java#L545-L594

        This is the controller panel for Smart Panels app

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

            Calling Process Instance is not cancelled when modifying Called Process Instance

              • Icon: Bug Report Bug Report
              • Resolution: Fixed
              • Icon: L3 - Default L3 - Default
              • 7.9.0, 7.7.9, 7.8.6, 7.9.0-alpha4
              • None
              • engine
              • None

                Steps to reproduce:
                1) deploy a process foo with a multi instance call activity
                2) deploy another process bar that contains a user task (bar is called by foo)
                3) start a process instance of foo
                4) perform the following modification:

                    runtimeService.createModification("bar")
                      .startAfterActivity("userTask")
                      .cancelAllForActivity("userTask")
                      .processInstanceIds(...)
                      .execute();
                

                Observed Behavior:
                The calling process instance of foo is still active.

                Expected Behavior:
                The calling process instance of foo is cancelled.

                Hints:

                • see failing test cases [1] and [2]

                [1]: https://github.com/camunda/camunda-bpm-platform/blob/6056ad9aa8047e1477e20cbcec75a1b497eaceb4/engine/src/test/java/org/camunda/bpm/engine/test/api/runtime/ProcessInstanceModificationSubProcessTest.java#L499-L543
                [2]: https://github.com/camunda/camunda-bpm-platform/blob/6056ad9aa8047e1477e20cbcec75a1b497eaceb4/engine/src/test/java/org/camunda/bpm/engine/test/api/runtime/ProcessInstanceModificationSubProcessTest.java#L545-L594

                  This is the controller panel for Smart Panels app

                        roman.smirnov Roman Smirnov
                        roman.smirnov Roman Smirnov
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        2 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                              roman.smirnov Roman Smirnov
                              roman.smirnov Roman Smirnov
                              Votes:
                              0 Vote for this issue
                              Watchers:
                              2 Start watching this issue

                                Created:
                                Updated:
                                Resolved: