Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-443

OR Variable-Filter returns wrong result

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 1.0.0
    • None
    • backend
    • None

      It helps to import the data of a distribution, so that the invoice process has three instances with different amount values

      Reproduce:

      • Perform a frequency heatmap request with a variable filter that contains two values:
      {
         "processDefinitionId": "...",
         "filter":{
            "dates": [],
            "variables":[{
                  "name": "amount",
                  "type": "Double",
                  "operator": "=",
                  "values": ["10.99","30.0"]
             }]
         }
      }
      

      Expected:

      • Two instances are returned

      Observed:

      • Only one instance is returned (the one that matches the first value in the filter array)

        This is the controller panel for Smart Panels app

            [OPT-443] OR Variable-Filter returns wrong result

            Johannes added a comment -

            Johannes added a comment - see this commit for the fix: https://github.com/camunda/camunda-optimize/commit/30ea69c376df3033d66c3e57953cf8b90af1dfa2

              michael.schoettes Michael Schoettes
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: