Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

exclude entitlement from user manager campaign

iam01
Regular Contributor
Regular Contributor

Hi Team,

In user manager campagin i want to exclude the entitlements assgined from  "entitlement with new account" option on endpoints.

12 REPLIES 12

Manu269
All-Star
All-Star

Refer this doc : Creating, Launching, and Scheduling Campaigns (saviyntcloud.com)

Account Entitlements1 Query

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

iam01
Regular Contributor
Regular Contributor

@Manu269 your reply is not related to the question. The above doc didn't contain any information related to the question.

 

rushikeshvartak
All-Star
All-Star

 

rushikeshvartak_0-1708056584170.png

entitlement_Valuekey in (select ENTSWITHNEWACCOUNT from endpoints where endpointkey=30)

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@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, 

AmitM
Valued Contributor
Valued Contributor

Hi @iam01 , you can update the CP for these entitlements and use that in Campaign Advance config --> Entitlements Query. 

 

Thanks, Amit

I have validated and its working

rushikeshvartak_0-1708366822924.png

rushikeshvartak_1-1708366859408.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

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 

rushikeshvartak_2-1708367156642.png

 

Certification 

rushikeshvartak_3-1708367202209.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@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

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


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@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?

Internal Query are HQL , Analytics/data analyzer/dynamic attribute is SQL

rushikeshvartak_0-1708368674709.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

iam01
Regular Contributor
Regular Contributor

@AmitM indeed. However looking for any ootb options.

Is there any restrictions on endpoints table in campaigns advanced query??