Neq not working for History Tasks

Engine Version:7.11

REST API:Get Tasks (Historic) (POST) | docs.camunda.org

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"
}

Hi @mynameisny
Welcome to the forum

This looks like it could be a bug, thanks for letting us know.
Could you create a ticket for this here: https://jira.camunda.com/ and we’ll see if the dev team can replicate it.

Thank you for your reply, I will create the ticket soon. ::

1 Like