Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/01/2022 03:15 AM
requestedby.username == RequestedFor.username
Above condition is not working and is getting auto Approved.
Use case: If requestee is different than requestor than request should come to requestee for approval else it should go to user's manager.
I have tried multiple conditions but non of them are working:
requestedby.username == RequestedFor.username
requestedby.username == user.username
requestedby.firstname == RequestedFor.firstname && requestedby.lastname == RequestedFor.lastname
can you please tell me what is wrong here.
Screenshot attached.
Solved! Go to Solution.
06/01/2022 03:27 AM
requestedby.username == user
is working in saviynt v5.5SP3 but is not working in v2021
06/01/2022 03:42 AM - edited 06/01/2022 03:42 AM
Hi Abhishek,
Please try RequestedFor.username == requestedby.username in v2021 and confirm
06/01/2022 04:11 AM
Hello,
For v2021, try RequestedFor == RequestedBy in the if-else block.
06/01/2022 07:47 AM
requestedby.username == user, worked for me in v2021.
Thank you for your input