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

Workflow for Group creation

Gopi
Regular Contributor
Regular Contributor

Hi experts,

We have a requirement that if a user creates a group from ARS and if he/she is part of a User Group(Custom Assignment) member then it should get auto-approved if not then it should go for user group approval.

We are using the below query in if else block which is the same query working fine in the Access Request Workflow

(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.executeQuery("select u.id from Users u,Usergroup_users ug,Usergroups ugs where u.id=ug.userkey AND ugs.id=ug.user_groupkey AND ugs.user_groupname='IAM Operations' AND (u.id=${requestedby.id} OR u.id=${user.id})")?.size()!=0)

The problem is that after filling in all details for Group creation and clicking Send for Approval this throws an exception error and I also attached the log.

Please let me know what I'm missing.

Thanks and Regards,

Gopi.

 

1 REPLY 1

shibinvpkvr
Regular Contributor II
Regular Contributor II

@Gopi Please select the language in if else block as groovy and try again.