Hello,
I am trying to add a filter via rest api, for a process which have 3 variables in it
- dueToday boolean
- dueThisWeek boolean
- allocatedTo String
I am trying to filter is with orQuery below this the reqest and resoponse
{
“resourceType”: “Task”,
“name”: “dueforAllCasesWithOR2”,
“owner”: “demo”,
“query”: {},
“orQueries”: [
{
“processVariables”: [
{
“name”: “dueToday”,
“operator”: “eq”,
“value”: true
}
]
},
{
“processVariables”: [
{
“name”: “dueThisWeek”,
“operator”: “eq”,
“value”: true
}
]
}
],
“properties”: {}
}
response :-
{
“id”: “7f681f49-a554-11ee-8c7c-0242ac120002”,
“resourceType”: “Task”,
“name”: “dueforAllCasesWithOR1”,
“owner”: “demo”,
“query”: {
“taskVariables”: ,
“processVariables”: ,
“caseInstanceVariables”: ,
“orQueries”:
},
“properties”: {}
}
this is creating a blank filter can you please tell me where I am going wrong ?
Can anyone please help me with this.
Regards,
Shoeb