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

Incorrect ActivityInstanceId handling in VariableInstanceQuery

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.0.0-rc, 7.0.0
    • None
    • cockpit, engine
    • None

    Description

      Reproduce:

      • user invoice showcase
      • navigate to a process instance
      • select the top element of the tree

      Problem:

      • no variables are shown although all variables should be shown

      if execution is SCOPE and execution is ACTIVE
      if VARIABLE.TASK_ID != null => ACTIVITY_INSTANCE_ID_ is EXECUTION.ACTIVITY_INSTANCE_ID_
      else
      if EXECUTION.ID_ == EXECUTION.PROCESS_INSTANCE_ID_ => ACTIVITY_INSTANCE_ID is EXECUTION.PROCESS_INSTANCE_ID_
      else ACTIVITY_INSTANCE_ID is PARENT EXECUTION.ACTIVITY_INSTANCE_ID_
      else
      ACTIVITY_INSTANCE_ID_ is EXECUTION.ACTIVITY_INSTANCE_ID_

      OR add ACT_INST_ID_ column to ACT_RU_VARIABLE table

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              smirnov Roman Smirnov
              gimbel Robert Gimbel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce