Tasks that are not Claimed task

I use this method to get tasks of a user:


but I need a method that gets tasks of a user that are not decided by the user yet. imagine that admin goes to his/her task page and he/she just wants to see tasks that are not claimed or unclaimed then do an action on them.

There is this, which gets all task where the assignee is null:

thank you for your response. But my question was not about assignee it was about claiming. Is there any service to get tasks that their claim time is null?

If a task is claimed it will have an assignee, if it is unclaimed it will have a null assignee. Can you elaborate on what you mean by claim time? Do you want the query to show tasks that have never had an assignee?

1 Like