Hi Mat,
thanks for the response. I know that I can use these methods in a task query. But I want to make a custom task query and order by followUpDate OR createTime. Something like this:
if followUpDate is not null
use followUpDate for sorting
else
use createTime for sorting
I could imagine writing a custom comparator and set this comparator as orderBy clause in the TaskQuery, e.g. TaskQuery.createTaskQuery().orderBy(myComparator).list.
Best regards,
Torsten