Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/02/2024 01:05 PM
Hi All,
We have applications with regular accounts( associated with users) and service accounts (not associated to any user).
Need to launch Entitlement Owner campaign for the below cases
1. Active users with active accounts
2. Active service accounts not associated with any user.
If I add statuskey='1' in the Users Query, the second case is failing and not including service accounts in the campaign. How can we make sure both the cases are working?
Thanks
Solved! Go to Solution.
10/02/2024 08:19 PM
@SPP inactive users will be having inactive accounts so I believe they will be automatically removed from the campaign and you don't have to apply filter on users query.
10/02/2024 09:57 PM
10/03/2024 09:29 AM
@NM @rushikeshvartak By default it includes both active and inactive users. There are some active accounts for inactive users. Those should not get included.
10/03/2024 10:02 AM
@SPP add below query in account query
accountkey in (select ua.accountkey from user_accounts ua, users u where u.userkey=u.userkey and u.statuskey=1) or
accountkey not in (select ua.userkey from user_accounts ua)
10/03/2024 01:02 PM - edited 10/03/2024 01:32 PM
@NMI still see inactive users showing up in the campaign after the accounts query is added as mentioned.
10/03/2024 08:37 PM
@SPP add only this and see.
accountkey in (select ua.accountkey from user_accounts ua, users u where ua.userkey=u.userkey and u.statuskey=1)
10/04/2024 01:21 PM
@NM It shows up only active users now but the service accounts are missing.
10/04/2024 07:14 PM
accountkey in ((select ua.accountkey from user_accounts ua, users u where ua.userkey=u.userkey and u.statuskey=1) union (select a.accountkey from accounts a where a.endpointkey in (1 ) and a.accountkey not in (select accountkey from user_accounts)) )