Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/04/2023 05:32 AM
Hi Team,
There are two dynamic attributes 'Database Access' and 'Server Access'. If end user will raise request for 'Database Access' for approval it will go to 'John' but if 'John' will raise a request for himself or for others it should auto approve. Similar for 'Server Access'.
In Approval workflow : I am checking in if/else condition, but it's not working.
(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.executeQuery("select ugu.id from Usergroup_users ugu where ugu.user_groupkey.id = 48 and ugu.userkey.id= requestedby?.id")?.size() != 0)
if any one has any sample for the use case. Please share it.
Thanks
Geeta
04/11/2023 04:13 PM
Hi @GeSaviynt ,
We are checking if this is feasible. Will keep you posted.
04/11/2023 07:25 PM
04/12/2023 02:59 PM
Hi@GeSaviynt ,
Thanks for reaching out.
Populate a custom property for all users who are part of a user group. You can then call this custom property in the if-else block using the below syntax.
requestedby.customproperty1 == 'UG'
Workflow Screenshot as below.
Thanks.