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

workflow to check all/any owners

iam01
Regular Contributor
Regular Contributor

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

 

6 REPLIES 6

Raghu
Valued Contributor III
Valued Contributor III

@iam01  use below if condition for role check

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

if more info please check below:

https://docs.saviyntcloud.com/bundle/SSM-Admin-v55x/page/Content/Chapter11-Workflows/Workflow-Compon...

 


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

iam01
Regular Contributor
Regular Contributor

@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

Raghu
Valued Contributor III
Valued Contributor III

@iam01  try

role.allowner > 0

or

role.allowner.contains(user.username) eq true

or

role.allowner.contains(requestedBy.username) eq true

 


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

iam01
Regular Contributor
Regular Contributor

could you please share any doc or form link for "role.allowner" variable.

I will test that and let you know

Raghu
Valued Contributor III
Valued Contributor III

https://forums.saviynt.com/t5/general-discussions/workflow-components-role-attributes/m-p/2757

 


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

Refer KB Article https://forums.saviynt.com/t5/community-knowledge-base/workflow-check-if-app-role-owner-is-submittin... 


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