Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/04/2024 10:18 AM - edited 09/04/2024 10:20 AM
Solved! Go to Solution.
09/04/2024 10:31 AM - edited 09/04/2024 10:33 AM
1) you can global configuration , request define delegate query
user.employeeType='internal', you can try not in specific usernames
2) sample
select a from Users where a.id=${user.id}
(a.manager=${users.id} or a.manager=${users.manager}) and a.statuskey=1
09/04/2024 10:35 AM
select a from Users a where a.manager = ${users?.id}
09/06/2024 06:51 AM - edited 09/06/2024 06:51 AM
thank you, what would be the query format to remove/exclude admin users from the parent delegate option?
09/06/2024 07:15 AM
In global config --> define delegate query
user.id in (select id from Users where username not in ('admin','sysadmin'))
09/06/2024 07:15 AM
select a from Users a where a.username not in ('SaviyntSupportAgent1','SaviyntSupportAgent2','SaviyntSupportAgent3','admin','systemadmin')
09/10/2024 04:48 PM - edited 09/10/2024 05:21 PM
tried both parent and delegate user using the given query,
For parent: I still see admin users in those list, is there a reason why?
for delegate user, after updating under global config, I see no user in the list anymore. Used select a from Users a where a.username not in ('SaviyntSupportAgent1','SaviyntSupportAgent2','SaviyntSupportAgent3','admin','systemadmin') for both.
does it only work for certain sav roles, does other sav role config play a role in this, that I need to adjust?
09/10/2024 09:02 PM
09/11/2024 05:28 PM
there was a small tweak I needed to do for delegate user: username not in ('SaviyntSupportAgent1','SaviyntSupportAgent2','SaviyntSupportAgent3','admin','systemadmin') is the query that worked after testing,
for parent, the query as it is works, U in Users seems to be case sensitive.