05/26/2023 02:53 AM
I have two level workflow for Enterprise role request:
1. Manager Approval
2. Role Owner Approval
I want the request to require only one level of approval and auto approve at second level if end user's manager is also a role owner for the requested role.
How can this be achieved?
Solved! Go to Solution.
05/26/2023 05:23 AM - edited 05/26/2023 05:38 AM
@yogesh , you can try adding the below check in the if-else block and autoapprove if the manager is role owner
role.getOwnerRank1().contains(user.manager) eq true
or
role.getOwnerRank1().contains(manager.username) eq true
05/26/2023 07:12 AM
Thanks @shivmano
I am able to get it working by this:
role.ownerRank1.contains(manager.username)
On a sidenote:
I remember seeing in earlier Saviynt versions that request got auto approved if it was sent to same approver twice, automatically without having a condition like this. Did this change recently?