PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners Click HERE | EMEA/APJ Click 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
All-Star
All-Star

@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

@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

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 this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.