Questions tagged [exclusion-script]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

Exclusion script in Marketing Cloud is getting an error

I'm trying to use multiple exclusion scripts in an email activity of a Journey and get this error: I've double checked the name of my email fields in my data extensions and they are all "Email&...
DBlaney's user avatar
  • 23
0 votes
0 answers
49 views

Exclusion script working in one Busines unit but not in others

I have beed using this approach for exclusion script as outlined here by mr Eliot: Using Exclusion Script with _Sent Data View Basically I keep logic in a block and cal it in the exclusion script box ...
ChameliLuthra's user avatar
0 votes
2 answers
438 views

Exclusion script syntax

I'm trying to add an exclusion script into a Journey so I can exclude the users from a DE. The DE that I want to exclude has only one field, Email and is PK. This is the script that I'm adding under ...
Duicug's user avatar
  • 457
0 votes
0 answers
51 views

JB Exclusion Script Using DE Attribute

I am trying to use the below exclusion script in JB to exclude anyone with a matching UID value to the entry DE (which is a different DE than the one referenced in the script). (ROWCOUNT(LOOKUPROWS(&...
Lydia Ferguson's user avatar
0 votes
1 answer
235 views

Uploading an exclusion list of only email addresses

I have a list of only emails that i would like to exclude from a single send. Issue: Since these emails may or may not be in our system, i do not have a unique id/subscriber key for them. Since it is ...
QazWsx's user avatar
  • 1
0 votes
0 answers
279 views

How to prevent the same email being sent to the same subscriber twice in the same day?

I'm working in an environment where the expectations of the users sending emails out of Marketing Cloud need to be kept to a minimum. So, I need to setup a solution for preventing them from sending ...
Will's user avatar
  • 184
0 votes
1 answer
116 views

Journey Builder - Exit Criteria vs Exclusion Script

This is more of a logic check to see that I understand the differences between using exit criteria or exclusion script. Essentially I'm trying to find the most suitable way of excluding a set of ...
lyslexic's user avatar
0 votes
1 answer
460 views

Sendlog not logging certain records

I am using sendlog to exclude. I have a field called campaigncode in my entry source. -The Sendlog has a field called campaigncode -The entry source has some records that have a blank under campaign ...
GS65's user avatar
  • 127
0 votes
1 answer
175 views

Exclusion Script targeting previous day

Hello all I want to write an exclusion script where I omit people who were sent emails yesterday. Below is my code but it is not working and I think its because my entry source DE needs an eventdate ...
GS65's user avatar
  • 127
0 votes
1 answer
238 views

How to include multiple exclusion under "Send Email Activity > Advanced Exclusions"

I have an automation to send out the list of form submission in email to a list of internal contacts. The DE looks something like this: Email | Campaign | Date [email protected] | Campaign One | 1 Jun ...
Farrell's user avatar
-1 votes
1 answer
321 views

Exclusion script for Journey Builder send

I have two emails with identical content - one is used in one journey, the other in a second journey. However, I want to be sure that if a person happens to enter both journeys within a short ...
Holly's user avatar
  • 1
1 vote
1 answer
92 views

Use Data Extension as Inclusion instead of Exclusion

I have the following issue. I have a triggered send in the marketing cloud which is triggered directly from commerce cloud. But we are only allowed to send to people with an active OptIn. So I were ...
Sebastian Hansen's user avatar
0 votes
1 answer
242 views

Why is TreatAsContent () used in Exclusion script while referring the Content Block?

I have written the logic of my exclusion script in 'code snippet' Content Block. Which returns a true / false value. Then I am referring this Content Block from Exclusion Script something like this, ...
user0151's user avatar
0 votes
1 answer
598 views

Can we ADD an EXCLUSION SCRIPT to an existing EmailActivity in a running Journey via API [how to expire an email]

I am aware that adding exclusion scripts excluded respective Email from being excluded. I have an other team, who wish to control which emails to be excluded from journey. Are there any REST or SOAP ...
Vishal Kumar C V's user avatar
1 vote
2 answers
710 views

How to exclude objects from other packages in sfdx

How to exclude objects from other packages (prefix) in sfdx? Since I created a dependent unlocked package when I add custom fields to objects of the "needed/parent" package when I retrieve ...
Thomas's user avatar
  • 2,294
0 votes
1 answer
435 views

Exclusion script with multiple lines in Marketing Cloud

I wish to add exclusion script to one of my email. Since my exclusion script is more than 1 line, I have created a Content Block in my same email. I am following the steps given in this pagehttps://...
user8971's user avatar
0 votes
1 answer
286 views

Can we have more than 1 condition in Exclusion script for triggered sends in marketing cloud?

I have setup a triggered send in marketing cloud and it has the following sendable DE.(example:) Email_address product_id timestamp [email protected] 3700 xxx I wish to add an exclusion script to this ...
bitsy's user avatar
  • 1
1 vote
1 answer
87 views

How to find email address available or not in the multiple data extension journey builder exclusion script

How to check in exclusion script if the Email address is in the multiple data extension should be send the email else do not send the email in journey builder email summery. IF(AND(EmailAddress IS IN ...
Sfdcprgmr's user avatar
  • 405
0 votes
1 answer
273 views

Using code snippet in Exclusion Script Triggered Send

I'm trying to create an exclusion script based on the output of a Code snippet which looks like: <script language="javascript" runat="server"> Platform.Load("core",...
Daan Kramer's user avatar
0 votes
0 answers
40 views

What statement should I be using to pull in new data for a subscriber versus repeating data I already have in columns

I have a large data extension that I am attempting to join multiple types of data that is associated to a single subscriber. So for instance subscriber 123 could have multiple rows of data that I want ...
de2020's user avatar
  • 1
0 votes
0 answers
247 views

Journey Builder - Multiple Exclusion Data Extensions

Firstly thanks to @Eliot Harper for giving the work around for Exclusion DEs in Journey builder. How to use an Exclusion Data Extension in a Journey Builder Send Email Activity But is there a way to ...
Vishal Kumar C V's user avatar
4 votes
0 answers
997 views

Pausing Records in Journey Over Weekend

I'm looking to build a journey that sends a few emails only during the weekdays and then on Monday would send to anyone that was at that point over the weekend. As an example, a record downloads a ...
RunRabbit's user avatar
0 votes
0 answers
73 views

Filtering users out in a journey via values housed in separate DE

GOAL: Create a API event journey that filters users out based off of values passed in the API call when compared against matching values in matching fields in a separate data extension. I have a ...
kbrally's user avatar
0 votes
1 answer
224 views

Can't Save Exclusion Script on Triggered Send

I'm attempting to input the following exclusion script on a triggered send in Marketing Cloud. However, whenever I attempt to do so, the exclusion script will not save. I'll click 'Save' and then '...
chorlesbarkley7's user avatar
0 votes
1 answer
303 views

Exclusion script using Journey Entry data

I have a Journey which inserts all my Orders, after 6 hours of wait time I want to send an Abandoned Cart email to the customer. To achieve this I plan to exclude any "status!=pending" rows ...
Deployment Failure's user avatar
0 votes
1 answer
363 views

Data Extension field has Colon

I am attempting to use an exclusion script on my emails in Journey Builder. We are loading a data extension with opportunities that we would want to exclude from the send. Our exclusion looks like ...
Tiffany Moon's user avatar
2 votes
0 answers
59 views

Exclude domains from sends on child business unit level [duplicate]

Working as a Marketing Cloud marketeer in a franchisee setup with 170 child business units I'd like for the franchisee marketeers for every child business unit to be able to always exclude certain ...
Felix Sanchez's user avatar
0 votes
1 answer
271 views

Frequency capping with AMPScript Exclusion script

Our dataextensions might have the same email address with different subscriber keys, and when i send multiple emails a day to different data extension, i am sending multiple emails to those emails ...
G.N's user avatar
  • 3
0 votes
1 answer
390 views

Exclusion Script using Content Block hangs with +2800 records

I'm using an exclusion script that uses an HTML Content Block, is in the Content Block where all the ampscript logic lives, for the sake of simplicity, the ampscript in the Content Block only declares ...
David Maldonado's user avatar
0 votes
0 answers
247 views

Deduplicate Triggered Sends in Marketing Cloud

I'm finding a difficulty with de-duplicating triggered sends in Marketing Cloud. There are 3 Triggered Sends in the System. They can be triggered at the same time by a single transaction in ...
MGA's user avatar
  • 1
1 vote
1 answer
234 views

Geo Location Push Messages Exclusion List

Is there a way to apply an exclusion list to Geo location Push message through Salesforce Marketing cloud? Let's say I want to send anyone who is within the proximity of xyz hotel a geo location push -...
Jimmy Yamaha's user avatar
1 vote
1 answer
281 views

Exclusion Scripts for Opt-outs

We have a custom preference center, with opt-out changes landing in a data extension. I would like to create an exclusion script for Journey Builder sends that takes into account the opt-outs from ...
nix9247's user avatar
  • 538
2 votes
1 answer
744 views

Limit number of emails sent to user across multiple Business Units with Override Option

I have a request to create a way to limit the number of non-transactional emails a user can receive. I saw some other questions suggesting the use of a Data Extension to control it, but in this case I ...
Luiz Fernando Xavier's user avatar
0 votes
1 answer
164 views

Exclusion Script with Multiple DEs

Can you use multiple DEs in an exclusion script for journey sends? I am currently using this template: ROWCOUNT(LOOKUPROWS("DE", "Email", emailaddr))> 0
Justin T's user avatar
4 votes
1 answer
426 views

Journey builder email send activity exclusion script issue

I am trying to use an exclusion script in an email send activity to inject data to a data extension. I have no intention of sending the email. I have tried with both upsertDE() (the email send ...
pshp's user avatar
  • 41
2 votes
1 answer
172 views

Exclusion Scripts for already in Journey

There are 5 version of Journey and all older version are still finishing and version 5 is currently running. Now I need to change the exclusion script in all email steps. There are two ways I am ...
athi's user avatar
  • 23
0 votes
1 answer
498 views

Exclusion Script more than one DE

I have a question about using exclusion script. How should you write it if you are trying to exclude 2 data extensions? I can't find examples of this anywhere. Below is what I came up with: ROWCOUNT(...
JOSHUA RUSSELL's user avatar
1 vote
3 answers
1k views

Is it possible to create a supression list purely based on domains (not full emails)? For example for competitors?

Is it possible to create a suppression list purely based on domains e.g. for competitor domains without having the full email address of these contacts. This would allow to automatically exclude any ...
Christina Gstoettl's user avatar
1 vote
1 answer
400 views

SubscriberKey and exclusion data extension/ exclusion script

When we use a Data Extension as an exclusion Data extension or in an exclusion script, is it enough if we only have the "SubscriberKey" field? It is enough to exclude those contacts? Or should we also ...
Ludivine L's user avatar
0 votes
1 answer
76 views

Behavior when a record is deleted from exclusion list and email job uses that record

We have a use case. We have an email sending job from batch and blast. The records to which the email is sent, are pushed to a Data extension which acts as an exclusion list. Now lets say we have an ...
Sarang's user avatar
  • 2,560
0 votes
1 answer
898 views

Find email address that are part of a domain exclusion data extension

I'm looking to find all email addresses in our database where the email address domain is included in one of our domain exclusion data extension. I thought of using something like the below, but it ...
Dave's user avatar
  • 191
0 votes
1 answer
439 views

Exclusion Script with time

I'm on a learning curve with AMPscript and need to add a time frame to a Exclusion Script. Basically I'm using the exclusion script below in a Trigger Send. But I would like to add a time frame. ...
Alan's user avatar
  • 15
3 votes
3 answers
2k views

Email Frequency Capping in Marketing Cloud Connect

I want to do the Frequency Capping to those Emails which are sent/triggered from the Marketing Cloud Connect. I know that we can add the exclusion Script to the Journey Emails, Content Builder Emails,...
Rushikesh Pandit's user avatar
1 vote
0 answers
190 views

Exclusion Script with Salesforce Data Extension

I'm using the folowing Exclusion script ROWCOUNT(LOOKUPROWS("DE_TEST_FORCE10_FR", "CLI_AdresseEmail", emailaddr))> 0 during a one shot email and it works very well, the issue is when I move the ...
Yazid AKKI's user avatar
1 vote
1 answer
322 views

Instant trigger email to new subscribes only in a data extension

I have a data extension in SFMC that is being populated with opt-ins from an external source. I would like to trigger an instant welcome email ONLY to anyone who is added to this data extension. How ...
REZA Y's user avatar
  • 43
1 vote
1 answer
386 views

Removing unengaged subscribers account wide

I have a data extension created for contacts we have deemed unengaged based on a predefined set of criteria. This data extensions updates once a week through an automation. For example one of the ...
cmccarra's user avatar
3 votes
3 answers
848 views

Exclusion Script for multiple Send Log variables in Journey Builder Email Send

Have a bit of a complex exclusion requirement and haven't been able to find a script that works. Background A contact submits a web form for a brochure on a model called 'Pear'. This enters them ...
Salvara's user avatar
  • 97
2 votes
1 answer
7k views

Exclusion List in Journey Builder

I've set up a journey in Journey Builder however I want to exclude a list of customers. When sending an email from Content Builder it allows me to exclude and suppress lists but this option is not ...
Keith's user avatar
  • 31
2 votes
2 answers
671 views

Exclusion Script in Triggered Email Send

I get how I can exclude a certain email using the below script using the key or email. I'm looking to exclude certain email addresses based on it either containing certain characters or because it ...
J. Pixel's user avatar
-2 votes
1 answer
491 views

Exclusion Script for Triggered Send

I need exclusion script for Trigger send definition to exclude records on type of activity. This is sample table that is sendable: Sample_Customeractivity_table I have another trigger DE ...
Ranjith Haridas's user avatar