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

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.10.0, 7.9.4, 7.8.10, 7.10.0-alpha4
    • 7.10.0-alpha3
    • engine
    • None
    • Tested in 7.8 and 7.9

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: