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

Issue with Delegation in Approval Workflow

sabyasachi1
New Contributor II
New Contributor II

Hi Team,

We are using a workflow where a user's request goes to their manager for first approval. If the manager does not respond within 30 minutes, the request escalates to the manager's manager. However, if the manager's manager is unavailable and has set up a delegate for a certain period, the request should be assigned to the delegate instead of the manager's manager during that period.

Despite having created the workflow correctly and setting a delegate for the manager's manager, the request is still being assigned to the manager's manager after the 30-minute escalation, rather than to the delegate.

Please let us know if there is any solution to this issue.

Regards,
Sabyasachi Mohanty

9 REPLIES 9

NM
Honored Contributor II
Honored Contributor II

@sabyasachi1 can you check if delegate user sees the pending request in request approval page??

sabyasachi1
New Contributor II
New Contributor II

Hi @NM , 

The delegated user can see the request on the approval page.

rushikeshvartak
All-Star
All-Star
  • Request will not be assigned to delegate.
  • Delegate and managers manager both can act on request

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

Hi @rushikeshvartak , 
The request is not assigned to the delegate user but he can act on that request. 

but Can we use the custom assignment in the workflow to assign the request to the delegate user of that manager's manager? If possible please let me know.

Yes you can use custom assignment block with custom query to find active delegated user manager 


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

Use below query in custom assignment block

select
delegatedUserManager.userkey
from delegates d,
USERS delegatedUser,
USERS delegatedUserManager
WHERE delegatedUser.USERKEY = D.DELEGATEUSERKEY
AND delegatedUser.STATUSKEY = 1 AND DATE(D.ENDDATE) >= DATE(NOW())
AND delegatedUserManager.userkey=delegatedUser.manager AND D.userkey = ${user.id}


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

Hi @rushikeshvartak , 
Here we want to find the delegate user of the manager's manager. From your query, we can find the delegate user of the manager. Finding delegate user for the manager's manager could be very helpful if it's possible. Here we dont use " DONOTDISTURBDELEGATE" block. 

What if there is no delegation for manager's manager it will go to admin for approval


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