cancel
Showing results for 
Search instead for 
Did you mean: 

Filter tasks by existence of task variable in TaskQuery

mf
Confirmed Champ
Confirmed Champ
Is it possible to filter tasks by existence of a task-variable? For example: Fetch all tasks which has(has not) "var" variable.
4 REPLIES 4

trademak
Star Contributor
Star Contributor
That's currently not possible, although you can still write a native task query. Can you create a JIRA issue?

Thanks,

mf
Confirmed Champ
Confirmed Champ
I want to use other criteria (methods) of TaskQuery with "task-variable existence" criterion. For example:
<java>
taskQuery.taskAssignee("assignee")…taskVariableExists("var").list();
</java>
Is it possible with native task query?
Ok, i will create a JIRA issue.

ferrykranenburg
Champ in-the-making
Champ in-the-making
I have the same question. When can we expect this to be included in the query API?

jbarrez
Star Contributor
Star Contributor
It's currently not planned, so no expectations set. The true cheesy open source answer is that we of course welcome pull requests with an enormous enthusiasm 😉