cancel
Showing results for 
Search instead for 
Did you mean: 

TaskQuery OR ?

campa
Champ in-the-making
Champ in-the-making
Hi,

is it possible to create TaskQuery containing also OR conditions ?
if yes how can I do that ?

Thanks in advance
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
No, that is not supported at the moment.

johnm
Champ in-the-making
Champ in-the-making
Hi Joram,
Is it still not supported?  We are using 5.14.

We need something like taskQuery.dueAfterOrEqual();… it looks like the only API available is query.dueAfter() ??

Wondering (on a TaskQuery) how best to say something like dueDate >=  ?

Thanks in advance
John

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi John,

have a look on org.activiti.engine.test.api.task.TaskQueryTest#testQueryByTaskIdOr in activiti source. (version 5.17.+)

Regards
Martin