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

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.13.0, 7.13.0-alpha1
    • None
    • cockpit
    • 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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce