Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/01/2024 03:03 AM
Hi,
can someone suggest me is it possible to use account status in rules through advanced query.
It would be great if you could share me some reference.
thanks in advance.
Regards,
Srinivas
07/01/2024 06:43 AM
yes
(a.customproperty8 = 'xxxxxxx') and a.statuskey=1 and a.id in (select distinct us.userkey from User_accounts us, Accounts cc, Endpoints ep where us.accountkey=cc.id and cc.endpointkey =ep.id and cc.status=1 and ep.endpointname in ('Aloy_AD_SaviyntPOC_Test1','Aloy_AD_SaviyntPOC_Test1'))
07/01/2024 07:47 AM
Hi @Srinivas_N ,
Please refer this Saviynt doc - https://docs.saviyntcloud.com/bundle/KBAs/page/Content/Obtaining-the-attribute-details-from-tables-o...
This explains you how to refer different tables in rules with right syntaxes (HQL Class Names)
Sample Query from same doc :
a.jobcodedesc='IAM Administrator' and a.id in (select distinct us.userkey from User_accounts us, Accounts cc, Endpoints ep where us.accountkey=cc.id and cc.endpointkey =ep.id and ep.endpointname='Open DJ - LDAP')
Thanks,
Amit
If this answers your query, Please ACCEPT SOLUTION and give KUDOS.