Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Auto Approve the request if the requestor is part of a user group

PuspanjaliM
New Contributor II
New Contributor II

Hi Team,

We have a user group called Helpdesk.

We are trying to create a workflow where if any member of the Helpdesk group raises an access request for a user, the request should be auto-approved.

I can see userGroup is not present on the binding on the doc.

Could you please help if there is any workaround solution we can follow to achieve our requirement?

 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

use below condition

(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.executeQuery("select ugu.id from Usergroup_users ugu where ugu.user_groupkey = <usergroupkey> AND ugu.userkey= '${requestedby?.id}'")?.size() != 0)

Make sure language is selected as groovy

rushikeshvartak_0-1725627102677.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.