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

History Task Query: Task Variables only support "eq"

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.14.2, 7.11.20, 7.12.14
    • engine

      Engine Version:7.11

      REST API:https://docs.camunda.org/manual/7.11/reference/rest/history/task/post-task-query/ 1

      When I list history tasks by detected param taskVariables, and the engine return Invalid variable comparator specified: neq

       

      POST /engine-rest/history/task
      
      {
          "processInstanceId": "dc12c9dd-38ef-11eb-8b69-0a58ac00082f",
          "taskVariables": [
              {
                  "name": "name",
                  "value": "NingYu",
                  "operator": "neq"
              }
          ]
      }
      
      {
          "type": "InvalidRequestException",
          "message": "Invalid variable comparator specified: neq"
      }
      

      Expected behavior:

      • The docs don't list neq as a valid comparator for taskVariables

        This is the controller panel for Smart Panels app

            [CAM-12876] History Task Query: Task Variables only support "eq"

            Martin Stamm added a comment -

            Hi mynameisny,

            Thank you for creating this ticket. We can confirm the bug and will now decide how we continue with it.

            Cheers,
            Martin

            Martin Stamm added a comment - Hi mynameisny , Thank you for creating this ticket. We can confirm the bug and will now decide how we continue with it. Cheers, Martin

            Hi Tony,

            Thanks for raising this ticket. The scope of this bug fix will be that we will update the documentation to be correct with the current behavior. We will try to correct this with the 7.15 release, but cannot make a promise.

            Being able to filter for tasks that have a variable value not equal to a parameter would be a new feature in the product. Feel free to raise a separate feature request for this. If you like, we would also appreciate a contribution in the form of a pull request.

            Cheers,
            Thorben

            Thorben Lindhauer added a comment - Hi Tony, Thanks for raising this ticket. The scope of this bug fix will be that we will update the documentation to be correct with the current behavior. We will try to correct this with the 7.15 release, but cannot make a promise. Being able to filter for tasks that have a variable value not equal to a parameter would be a new feature in the product. Feel free to raise a separate feature request for this. If you like, we would also appreciate a contribution in the form of a pull request. Cheers, Thorben

            This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2525. Please use this link for any future references and continue any discussion there.

            Thorben Lindhauer added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2525 . Please use this link for any future references and continue any discussion there.

              thorben.lindhauer Thorben Lindhauer
              mynameisny Tony Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: