Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners Click HERE | EMEA/APJ Click HERE |
04/23/2024 09:13 AM - edited 04/23/2024 09:14 AM
Hi How to check if a enterprise Role has any owner in IF condition.
Role owner check is working if the condition is based on Ranks. But i want to check without Rank dependency
04/23/2024 09:25 AM - edited 04/23/2024 09:28 AM
@iam01 use below if condition for role check
role!=null and role.getOwnerRank1().size() > 0
if more info please check below:
04/23/2024 09:55 AM
@Raghu as i mentioned in my post its for owner and getownerRank1 is working for me. But i what i looking for is without rank constraint i want to condition on owners
04/23/2024 10:14 AM
@iam01 try
role.allowner > 0
or
role.allowner.contains(user.username) eq true
or
role.allowner.contains(requestedBy.username) eq true
04/23/2024 10:59 AM
could you please share any doc or form link for "role.allowner" variable.
I will test that and let you know
04/23/2024 11:15 AM
https://forums.saviynt.com/t5/general-discussions/workflow-components-role-attributes/m-p/2757
04/23/2024 08:08 PM
Refer KB Article https://forums.saviynt.com/t5/community-knowledge-base/workflow-check-if-app-role-owner-is-submittin...