and more in a single search tool across platforms. Read the announcement here. |
02/15/2024 04:23 PM
Hi Team,
In user manager campagin i want to exclude the entitlements assgined from "entitlement with new account" option on endpoints.
Solved! Go to Solution.
02/15/2024 08:00 PM
Refer this doc : Creating, Launching, and Scheduling Campaigns (saviyntcloud.com)
Account Entitlements1 Query
02/16/2024 04:26 AM
@Manu269 your reply is not related to the question. The above doc didn't contain any information related to the question.
02/15/2024 08:09 PM
entitlement_Valuekey in (select ENTSWITHNEWACCOUNT from endpoints where endpointkey=30)
02/16/2024 04:24 AM - edited 02/16/2024 04:26 AM
@rushikeshvartak This won't work the reason being ENTSWITHNEWACCOUNT is an array. However is this working in your environment?
First step I would like to know if endpoints table is available for campaigns,
02/19/2024 07:09 AM
Hi @iam01 , you can update the CP for these entitlements and use that in Campaign Advance config --> Entitlements Query.
Thanks, Amit
02/19/2024 10:21 AM
I have validated and its working
02/19/2024 10:26 AM
if you have multiple use below query [increase union as per your ents count]
entitlement_Valuekey in (SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(ENTSWITHNEWACCOUNT , ',', 1), ',', -1) as ent
from endpoints where endpointkey=30 union SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(ENTSWITHNEWACCOUNT , ',', 2), ',', -1) as ent
from endpoints where endpointkey=30)
Multiple Testing :
Endpoint
Certification
02/19/2024 10:35 AM
@rushikeshvartak thanks, I have tested something similar sometime back and it was working. However thinking of it be more dynamic.
The below query is working in data analyzer but not in advance section:
Let me know if you see anything wrong:
SELECT ev2.entitlement_valuekey from entitlement_values ev2 JOIN endpoints ON FIND_IN_SET(ev2.entitlement_valuekey,endpoints.ENTSWITHNEWACCOUNT) > 0 where endpoints.endpointkey=1 and endpoints.ENTSWITHNEWACCOUNT is not null
02/19/2024 10:40 AM
use HQL not SQL
SELECT ev2.entitlement_ValueKey
FROM Entitlement_Values ev2
JOIN Endpoints e
ON LOCATE(ev2.entitlement_ValueKey , e.entsWithNewAccount) > 0
WHERE e.endpointKey = 1
AND e.entsWithNewAccount IS NOT NULL
02/19/2024 10:44 AM
@rushikeshvartak I will test and confirm.
Quick Question: for all campaign advance query it's HQL right ? Is there any other module in saviynt using HQL?
02/19/2024 10:51 AM
Internal Query are HQL , Analytics/data analyzer/dynamic attribute is SQL
02/19/2024 07:46 AM
@AmitM indeed. However looking for any ootb options.
Is there any restrictions on endpoints table in campaigns advanced query??