Searching tasks based on element from list of comma separated values persisted as taskVariable


#1

As per the task history docs,

The persisted taskVariable in camunda is candidateusers="1,2,3,4,5,6,7,8,9,10"

Can I send payload of taskVariables like below and will it provide the result?

{"taskVariables":
    [{"name": "candidateusers",
    "value": "1",
    "operator": "eq"
    },
    {"name": "candidateusers",
    "value": "2",
    "operator": "eq"}]

#2

camunda doesn’t have this feature. We can use Nativequery to retrieve results