Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

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


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

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?