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

Start Before MI Activity with Non MI-Body ancestor creates empty MI-Body

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.3.0
    • 7.3.0-alpha4
    • engine
    • None

      Reproduce:

      • Have a process instance with a multi-instance activity, but no running activity instances of the MI activity
      • Use Cockpit to start before the activity (not the MI body)
      • Apply modification
      • applies only to multi-instance tasks that are not a scope (i.e. not mi subprocesses)

      Expected:

      • new MI body is started (because none exist to hold the new MI activity)
      • new MI activity is started in the newly created MI body

      Observed:

      • new MI body is started
      • no new MI activity is started (or is not visible), however, MI body variable numberOfInstances is 1

      Reason:

      • modification sets the activity instance id of the mi body scope execution to null; this leads to a wrong activity instance tree

      Workaround:

      • start the activity again in a separate modification and select the previously created MI body as ancestor
      • now the numberOfInstances is 2 (even if there is only one instance), so you might have to set it back to one manually

        This is the controller panel for Smart Panels app

            [CAM-3964] Start Before MI Activity with Non MI-Body ancestor creates empty MI-Body

            Sebastian Stamm created issue -
            Sebastian Stamm made changes -
            Rank New: Ranked higher
            Thorben Lindhauer made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Thorben Lindhauer made changes -
            Assignee New: Thorben Lindhauer [ thorben.lindhauer ]
            Thorben Lindhauer made changes -
            Description Original: Reproduce:
             - Have a process instance with a multi-instance activity, but no running activity instances of the MI activity
             - Use Cockpit to start before the activity (not the MI body)
             - Apply modification

            Expected:
             - new MI body is started (because none exist to hold the new MI activity)
             - new MI activity is started in the newly created MI body

            Observed:
             - new MI body is started
             - no new MI activity is started (or is not visible), however, MI body variable numberOfInstances is 1

            Workaround:
             - start the activity again in a separate modification and select the previously created MI body as ancestor
             - now the numberOfInstances is 2 (even if there is only one instance), so you might have to set it back to one manually
            New: Reproduce:
             - Have a process instance with a multi-instance activity, but no running activity instances of the MI activity
             - Use Cockpit to start before the activity (not the MI body)
             - Apply modification
             - applies only to multi-instance tasks that are not a scope (i.e. not mi subprocesses)

            Expected:
             - new MI body is started (because none exist to hold the new MI activity)
             - new MI activity is started in the newly created MI body

            Observed:
             - new MI body is started
             - no new MI activity is started (or is not visible), however, MI body variable numberOfInstances is 1

            Reason:
             - modification sets the activity instance id of the mi body scope execution to null; this leads to a wrong activity instance tree

            Workaround:
             - start the activity again in a separate modification and select the previously created MI body as ancestor
             - now the numberOfInstances is 2 (even if there is only one instance), so you might have to set it back to one manually
            Thorben Lindhauer made changes -
            Assignee Original: Thorben Lindhauer [ thorben.lindhauer ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]
            user-a6477 (Inactive) made changes -
            Assignee New: Sebastian Menski [ sebastian.menski ]
            Sebastian Menski made changes -
            Status Original: Resolved [ 5 ] New: In Test [ 10004 ]
            Sebastian Menski made changes -
            Assignee Original: Sebastian Menski [ sebastian.menski ] New: Michael Schoettes [ michael.schoettes ]
            Michael Schoettes made changes -
            Status Original: In Test [ 10004 ] New: Closed [ 6 ]

              matthijs.burke Matthijs
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: