Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3732 I can filter string variables by contains and not contains
  3. OPT-4050

String variable filters can have "contains" operators for decision reports and dashboard filters

XMLWordPrintable

    • Not defined

      Context:
      With OPT-4004, we added contains and not contains filters for string variable filters in process reports. We should do the same for decision variable filters and dashboard filters.

      AT:

      • in addition to the two existing operators for string variables ("in" and "not in"), two new operators are added: "contains" and "not contains"
      {
        "name" : "variable_Name",
        "type" : "string",
        "data" : {
          "operator" : "contains", // "not contains"
          "values" : [ "String 1", "String 2", null ] // null also includes null/undefined values
        }
      }
      
      • The new "contains" operator returns all instances where the string variable value contains at least one value of the values array
      • The new "not contains" operator returns all instances where non of the values in the values array are contained in the string variable value
      • this works for decision reports
      • this also works for dashboard filters
      • the change is documented in the API documentation in Confluence

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: