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

Check Application Role Owner Rank is 1 Workflow if else condition

Kirti14
New Contributor III
New Contributor III

MY requirement is check if  role owner rank is 1 then move to owner approval level

 

I tried various if else condition but none is working fine







Kirti14_1-1718025591982.png

 

 

 

 

 

@kindly help me out.

12 REPLIES 12

NM
Valued Contributor
Valued Contributor

Hi @Kirti14 , try this

(entitlement.ownerRank1.size() == 0 ) 

Kirti14
New Contributor III
New Contributor III

We are working on  application rank owner. Is this condition valid?. @NM Kindly guide. 
It is not working even.

Raghu
Honored Contributor
Honored Contributor

@Kirti14  try below

role!=null and role.getOwnerRank1().size() > 0


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

NM
Valued Contributor
Valued Contributor

Try this for role owner

role.allowner.size() eq 0

dgandhi
All-Star
All-Star
  • Request will first check if the requested Enterprise Role is having an owner or not with Rank 1 in the IF-ELSE Condition 

role.ownerRank1.size() != 0 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

rushikeshvartak
All-Star
All-Star
  • Need information on below 
    • Where is workflow attached ?
    • Is this application workflow or role workflow
    • Please share current workflow snippet

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

It is an enterprise role owner. NOne of the above mentioned role query is working

 

Kirti14_0-1718292809118.png

@kindly help me out

 

 

@Kirti14 : Use entitlement.getOwnerRank1().size()!=0


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

Kirti14
New Contributor III
New Contributor III

It is for enterprise role owner not entitlement
condition is when enterprise role owner rank 1  is true

Yes still it should work are you stating it didn't work?


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

Kirti14
New Contributor III
New Contributor III

It is not working when condition is false that is  role owner rank is not 1/ when there is no owner 

 

One more requirement is what will be the condition to check that it is enterprise role condition and not any other role condition 

Kirti14
New Contributor III
New Contributor III

@Saathvik  kindly help me out