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

Auto approve request if it goes to same person a second time

Regular Contributor III
Regular Contributor III

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?


Regular Contributor III
Regular Contributor III

@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


role.getOwnerRank1().contains(manager.username) eq true

Regular Contributor III
Regular Contributor III

Thanks @shivmano 
I am able to get it working by this:


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?