Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Requestor's manager in workflow

km
New Contributor III
New Contributor III

Hi,

We have a requirement to send the approval to requestor's manager. We can do it via custom query in Workflows but how to fetch the requestor's manager so that the approval can be sent.

 

Thanks!

4 REPLIES 4

ejeong
Valued Contributor
Valued Contributor

Tried like this 

ejeong_0-1656590934692.png

select u.manager as userkey from users u where u.username = '${requestedby.username}'

select manager as userkey from users where userkey =${ARSREQUEST.requestor}


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

@km Does above solution worked if yes you can mark working solution as accepted 🙂 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

km
New Contributor III
New Contributor III

@rushikeshvartak : For requestee's manager i used 

select manager as userkey from users where userkey =${ARSREQUEST.requestee} and it didnt seem to work. 

When a user selects "Request Access for Others", in that case the requestor is someone else (requestee) and the approval should go to their manager.  Any ideas?