Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/24/2024 05:30 AM
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
Solved! Go to Solution.
07/24/2024 05:48 AM
@sabyasachi1 can you check if delegate user sees the pending request in request approval page??
07/25/2024 12:16 AM
Hi @NM ,
The delegated user can see the request on the approval page.
07/24/2024 09:10 AM
07/25/2024 12:22 AM
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.
07/25/2024 05:33 AM
Yes you can use custom assignment block with custom query to find active delegated user manager
08/02/2024 04:52 PM
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}
08/04/2024 08:35 PM - edited 08/04/2024 08:38 PM
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.
08/04/2024 09:06 PM
What if there is no delegation for manager's manager it will go to admin for approval
08/02/2024 09:37 AM