Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.
Is there a way to search for managers of full time employees instead of just all managers?
Hi @sramnani_bam you can try searching for you attribute and value that specifies a FT employee - attributes.attr name here:” FT value” This will return your FT employees and you can use the column chooser to add Manager to the display.
Thanks @ryan_toornburg - I was wondering if the search can return a list of managers directly?
We were thinking of using this search in a workflow to perform some actions on the managers without having to first fetch employees and do a second call to get managers.
@sramnani_bam- in a WF you would need your search query step, then an action step to define a variable. So your query can be attributes.employeetype:FT AND manager.name:* then for your define variable you could use
```{
“name”: “managerList”,
“description”: “List of managers for fulltime users”,
“transforms”: ,
“variableA.$”: “$.getFulltimeUsers.identities[*].manager.name”
}