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

Non-interrupting Timer Start Event in event subprocess fires again after migration

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • engine

    Description

      Environment (Required on creation):

      Camunda Automation Platform 7.16.7

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      A non-interrupting Timer Start Event in an event subprocess fires again after migration.

      Steps to reproduce (Required on creation):

      1. Deploy a process definition with a non-interrupting Timer Start Event in an event subprocess and a user task in the normal flow.
      2. Start a process instance.
      3. Wait until the timer fires.
      4. Migrate the process instance.

      Observed Behavior (Required on creation):

      The timer fires again.

      Expected behavior (Required on creation):

      The time doesn't fire again.

      Root Cause (Required on prioritization):

      Since the user task is executed in the process instance scope, a target timer declaration of the timer event exists in this scope => An emerging dependent job instance is added to the migration.

      Solution Ideas (Optional):

      Check if the has already been timer triggered before adding it as an emerging dependent job instance, similar to how we do it already for non-interrupting timer boundary events [1].

      Hints (optional):

      Check if a similar problem can occur for timeout listeners.

      [1] https://github.com/camunda/camunda-bpm-platform/blob/7c5bf3/engine/src/main/java/org/camunda/bpm/engine/impl/migration/instance/parser/ActivityInstanceJobHandler.java#L142

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                tassilo.weidner Tassilo Weidner
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Salesforce