I have added a Exclusion Script into the Triggered Send and I have republish and restarted it.
But I'm not receiving anymore emails as I think my Exclusion condition is wrong.
I have a DE with a primary key (Environment) that should match the variable, so I'm using the below condition in the Exclusion Script input box in the Triggered Send,I'd like to combine several conditions like
(ROWCOUNT(LOOKUPROWS("MyDataExtension", "Environment", Environment)) > 0
I request to
messaging/v1/messageDefinitionSends/key:my_external_key/send
request payload
{
"To":< {1)
"Address": "[email protected]",AND
"SubscriberKey": "[email protected]"(ROWCOUNT(LOOKUPROWS("OtherDE",
"ContactAttributes": {
"SubscriberAttributes": {
"Environment": "DEV"
}
}
}"Variable",
"OPTIONS": {
"RequestType": "ASYNC"
Value)) < }
}1)
I receive the email if the Exclusion Script is not present.
Is something I'm missingit possible?