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

Throwing end event in a event subprocess does not end the event subprocess as expected

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.10.0-alpha3
    • Fix Version/s: 7.10.0, 7.9.4, 7.8.10, 7.10.0-alpha4
    • Component/s: engine
    • Labels:
      None
    • Environment:
      Tested in 7.8 and 7.9

      Description

      The engine is not working as expected in a event subprocess when an event subprocess throws a end throw event such as a Escalation Throw End Event or Error Throw End Event. This seems to effect all end events in the event subprocess.

      Seems this entire pattern is unusable i.e. thorwing events in event subprocess.

      The example below illustrates the issue. Notice two tokens exist in the event sub-process because the timer has fired twice even though the end throw event has been reached on the first try and should have canceled the event sub-process. Also notice that the parent token has been canceled on the first cycle while the catch event was correlated on the first cycle as well.

      Current Behavior:
      The engine does not end the event subprocess leaving a token at the End Event, but a new token continues into the catch event leaving a hanging token in the process.

      Expected Behavior
      The token in the end event of the subprocess should be terminated, terminating the subprocess.

      Related Bugs
      https://app.camunda.com/jira/browse/CAM-4527

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              paul.lungu Paul Lungu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development