Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Groovy expression to check whether the requested entitlement is having Rank3 owner.

Debankita
New Contributor III
New Contributor III

Hi Team,

In the If-else block of the approval workflow we are trying to check whether there is any rank 3 owner present for the requested entitlement. In order to do so we are using the groovy expression -  entitlement.getOwnerRank3().size() eq 0.

But the if- else condition is not working. Can you please suggest the correct groovy expression in order to achieve this.

2 REPLIES 2

Manikanta_S
Saviynt Employee
Saviynt Employee

Hello @Debankita ,

Please refer to below post & see if it helps:

https://forums.saviynt.com/t5/identity-governance/role-owner-rank-issue-in-workflow/m-p/7867#M688

Thanks & Kind Regards,
Manikanta.S

rushikeshvartak
All-Star
All-Star

entitlement.getOwnerRank3().contains(user.username)


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.