Thank you for getting back…
Thank you for getting back to me. We get a lot of applicants and to keep the number of person API calls down, we want to limit the Person calls. To do this we need to filter to employee record updates, and to person records that have gotten to a certain status options in the Recruiting Workflow.
The employee records are an easy filter, but it's a bit more complex to pull the Recruiting Workflow. I had hoped to use one filter to pull employees and those that Recruiting Workflow status values matched.
If you know of a way to filter both in one Search API filter, please let me know, but otherwise we will do separate searches to get the records.
It sounds like you need to…
It sounds like you need to do a recruiting workflow search and return RW profile IDs in certain person folders and certain recruiting workflow statuses. If so, the query below will accomplish this. Replace the list node IDs with your person folder list node IDs and the recruiting workflow status list node IDs.
{
"filters": [
{
"name": "applicantworkflow.person.folder",
"value": [
"D12345",
"D23456"
],
"operator": "="
},
{
"name": "applicantworkflow.status",
"value": [
"C34567",
"C45678"
],
"operator": "="
}
],
"operator": "&"
}
Based on the information you shared above, the search you described in your 2nd paragraph sounds like the most effective approach. If you share more context about the problem you're solving, I can provide my input on alternative solutions.
I'm not aware of a limit on person.idCSV.