Help with a complex search

:bangbang: 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?

Any help appreciated! Thanks!

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.

1 Like

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.

Hi Sanjana,

(Employee Type:“Regular” AND manager.name:“*”) - Change as per your identity attributes.

-Mahesh

@uppala That returns regular employees who have manager under certain name, doesn’t it?

yes, That’s correct

-Mahesh

@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”
}

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.