Expand my Community achievements bar.

How to exclude recipients with certain values present in a column?

Avatar

Level 6

Hi everyone, 

 

I have  a features table linked with recipient , feature table contains feature_name column with values (feature1, feature2,feature3) and I wanted to know how to exclude recipients if they have all the three features available. Below is table level representation

 

recipinet    feature_name

recipient1  feature1

recipient1  feature2

recipient1  feature3

 

Thank you in advance

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hello @rvnth,
when you follow solution
https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/dynamic-content-in...
Add all three columns to the target data you can simply use split condition to remove all recipients with all three features added that are not empty.


Marcel

Avatar

Community Advisor

Hi @rvnth ,

You can create workflow as below,

ParthaSarathy_3-1702893780863.png

 

Query1: Fetch all recipients (example, @id greater than 0)

Query2: To fetch recipients who has feature name values feature1, feature2,feature3.

Targeting and filtering dimension: nms:recipient

Condition:

feature table exist such as

      feature_name equals to feature1

AND

feature table exist such as

      feature_name equals to feature2

AND

feature table exist such as

      feature_name equals to feature2

The condition will looks like,

ParthaSarathy_1-1702893639013.png

 

Exclusion Activity:

Select primary set as 'All recipient' and enable generate complement.

ParthaSarathy_2-1702893715841.png

 

Run the workflow. Recipients who has all 3 feature values in feature table will get excluded in complement transition.