I'm new to scripts and need a bit of help. We have 2 DEs; 'Leads' and 'Members'. The plan is to send emails via Journey Builder to contacts on 'Leads' DE but exclude those who have become members (these contacts will have 'member number' field populated on 'Members' DE once they've become members). What should the exclusion script look like?



I assume you have a column SubscriberKey containing the SubscriberKey. The expression of your exclusion script needs to evaluate to true if the subscriber should be excluded from the send.

If also non-members are part of the Members data extension and just don't have a member number populated, this should work:

Not Empty(Lookup("Members", "member number", "SubscriberKey", _subscriberKey))
| improve this answer | |
  • Thank you, @MarkusSlabina The first one works; just had to change 'Empty' to 'Not Empty'. Thanks again. – MarnieK Jun 9 '17 at 4:34
  • You are welcome! Sorry for the mistake, I updated my answer. – Markus Slabina Jun 9 '17 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.