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

Start activities in closest common ancestor activity instance when moving tokens in process instance view

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.13.0, 7.13.0-alpha1
    • Component/s: cockpit
    • Labels:
      None

      Description

      Context

      • On the process instance page
      • In the process instance modification view
      • When I move tokens on the diagram, so that it creates modification instructions

      Current behavior:

      • For every token,
        • a cancel instruction is generated by activity instance id
        • a start before instruction is generated

      Improved behavior:

      • For every token,
        • a cancel instruction is generated by activity instance id
        • a start before instruction is generated with the closest commen ancestor of the starting activity with the cancelling activity instance

      Example:

      • Consider the attached BPMN model
      • Assume activity Inner is active with the following activity instances:
        ProcInst : 1
          Outer SubProcess: 2
            Inner SubProcess: 3
              Inner: 4
        

      If I move the token from Inner to Outer, then the following instructions should be generated:

      1. Start before Inner with ancestor Outer SubProcess: 2
      2. Cancel Inner: 4

      Outer SubProcess: 2 is the activity instance that is the closes ancestor of Inner: 4 and that runs the closest ancestor activity of Outer.

      If we move multiple tokens, this logic should be applied to each one individually.

        Attachments

        1. bildsche.gif
          bildsche.gif
          79 kB
        2. model.png
          model.png
          28 kB
        3. subproc_example.bpmn
          6 kB

          Activity

            People

            Assignee:
            akif.hazarvi Akif Hazarvi
            Reporter:
            thorben.lindhauer Thorben Lindhauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: