Exclusion scripts using attributes from a Journey results in validation error when added to a send email activity
Trailblazer Community

Exclusion scripts using attributes from a Journey results in validation error when added to a send email activity

Marketing Cloud Journey Builder

Last updated 2020-05-07 ·Reference W-4942078 ·Reported By 4 users

No Fix

Summary
When creating a Send Email activity in a journey for Journey Builder it is possible to add an exclusion script. These scripts allow AMPscript to be used to exclude subscribers from being sent to by the triggered send.

When using an account profile attribute or standard personalization string (_subscriberkey for example) it works and the triggered send is created.

When using an attribute from the Journey's entry event data extension or contact model, the creation of the Journey's triggered send will fail with a validation error.

Repro
1.) Create a Journey.
2.) Add an Send Email activity.
3.) Add an exclusion script to the Send Email activity using an attribute from the Journey's event source.
4.) Click to the end.
5.) Activate Journey.
6.) Note the errors appear on screen stating the attribute is invalid.

Workaround
Use System Personalization Strings such as emailaddr or _subscriberkey to exclude records from the Journey Builder Send.

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.