Filtering by nested candidate attribute in search/Tasks endpoint
Posted: Wed Jun 19, 2019 5:28 am
Hi,
I've tried searching for a solution to this on the forum but have yet to come across a solution, so apologies if this is a repost.
I'm trying to get a list of non-deleted candidates that have been attached to a completed task with a given type.
The following query to search/Tasks brings back all tasks and all candidates with the task type:
Query:
Fields:
However, I want to exclude any deleted candidates associated with this task type. I tried this with the following query:
Query:
However this query brings back 0 results. Can somebody tell me how to filter this nested data on a 1-1 task-candidate association? candidate.id:XXXX is working ok as an additional filter, but it seems to fall down on any other candidate attribute such as isDeleted.
Thanks in advance!
I've tried searching for a solution to this on the forum but have yet to come across a solution, so apologies if this is a repost.
I'm trying to get a list of non-deleted candidates that have been attached to a completed task with a given type.
The following query to search/Tasks brings back all tasks and all candidates with the task type:
Query:
Code: Select all
isCompleted:True AND isDeleted:False AND type:Pre-Screen
Code: Select all
candidate(id,firstName,lastName,isDeleted)
Query:
Code: Select all
isCompleted:True AND isDeleted:False AND type:Pre-Screen AND candidate.isDeleted=False
Thanks in advance!