How to exclude recipients with certain values present in a column? | Community
Skip to main content
Level 5
December 18, 2023
Question

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

  • December 18, 2023
  • 2 replies
  • 723 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Marcel_Szimonisz
Community Advisor
Community Advisor
December 18, 2023

Hello @rvnth,
when you follow solution
https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/dynamic-content-in-email/td-p/639201
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

ParthaSarathy
Community Advisor
Community Advisor
December 18, 2023

Hi @rvnth ,

You can create workflow as below,

 

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,

 

Exclusion Activity:

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

 

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

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups