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

Need information on manager workflow

sk
Regular Contributor
Regular Contributor

Hello experts,

We had a requirement where when user requests the access it should go to User's manager for approval, If incase Manager is out of office on an emergency leave or some leave then that approval should go to manager's manager

How can we achieve this

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

You can achieve using custom query

Sample

SELECT u3.userkey
FROM users AS u1
JOIN users AS u2 ON u1.manager = u2.userkey
JOIN users AS u3 ON u2.manager = u3.userkey
WHERE u1.username = '${users.username}'

https://forums.saviynt.com/t5/identity-governance/reroute-access-add-workflow-to-manager-of-the-mana...


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

Amit_Malik
Valued Contributor II
Valued Contributor II

Hi @sk ,

Generally, this use case is achieved by setting up delegation. Problem is that only user knows that he is going OOO, so he can setup delegate.

His approvals will then go to someone who he delegated to.

If you want to handle this in workflows w/o setting up delegates, then you would need to reconcile leave status info to Saviynt. And, can use a if else block to check if approver leave status is set , send to manager or a custom query in custom assignment block can be used.

 

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

stalluri
Valued Contributor II
Valued Contributor II

@sk 
This can't be directly handled in workflow.
As Amit_Malik , you have to populate the leave status value in any user attribute and use it in the custom block of workflow.

manager.cp !=1 -> goes to regular manager
else you will create one more custom block and put the Query rushikeshvartak sent.

1 mean on leave
0 means not on leave



Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.