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

Workflow condition to check if RequestedBy = RequestedFor

Abhishek
New Contributor III
New Contributor III

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.

4 REPLIES 4

Abhishek
New Contributor III
New Contributor III

requestedby.username == user

is working in saviynt v5.5SP3 but is not working in v2021

Nikitaj
Saviynt Employee
Saviynt Employee

Hi Abhishek,

Please try RequestedFor.username == requestedby.username in v2021 and confirm

 


Thanks
Nikita

sahajranajee
Saviynt Employee
Saviynt Employee

Hello,

For v2021, try RequestedFor == RequestedBy in the if-else block.


Regards,
Sahaj Ranajee
Sr. Product Specialist

Abhishek
New Contributor III
New Contributor III

requestedby.username == user, worked for me in v2021.

Thank you for your input