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

In Cockpit, on historic process instance variable list, I cannot filter by variable value

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.12.19, 7.13.12, 7.14.6, 7.15.0
    • cockpit

      Environment (Required on creation):

      Tomcat EE 7.15.0

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

      When I search for a variable instance by value, an infinite loading spinner is shown

      Steps to reproduce (Required on creation):

      • Open the history of a Process Instance
      • go to Variables tab
      • Search for "Variable Value: amount = 42"

      Observed Behavior (Required on creation):

      • An inifinite loading spinner is shown

      Expected behavior (Required on creation):

      • I get a result set of variables

      Root Cause (Required on prioritization):

      The Request has the wrong structure. According to https://docs.camunda.org/manual/7.15/reference/rest/history/variable-instance/post-variable-instance-query-count/, it should be

      {
        "variableName": "amount",
        "variableValue": 42
      }
      

      but is

      {
        "variableValue": [
          {
            "name": "amount",
            "operator": "eq",
            "value": 42
          }
        ]
      }
      

      Solution Ideas (Optional):

      1. Change the request to reflect what the API expects
      2. Change to API to the interface we use for other searches, such as the variableValues request in the runtime: https://docs.camunda.org/manual/7.15/reference/rest/variable-instance/post-query/#request

      Hints (Optional):

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              martin.stamm Martin Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: