You are here:
Attribute to Attribute Comparison
Compare an attribute value to another attribute in entry events and decision splits in Journey Builder.
Use filters to ensure that the intended contacts enter their journeys, follow the intended branch after a decision split, or reach the journey's goal. Many journeys use a simple filter to admit any contact with the specified value in a data field on its contact record. Use attribute to attribute comparison to compare the contact’s values in two data fields to determine whether to admit the contact.
Attribute to attribute comparison is useful when a single contact can enter a journey more than once. Or, you can compare a journey data attribute to a contact data attribute to determine if a change occurred between time of entry and current time. To perform the comparison, drag the contact data attribute into the filter.
For example, in a Multiple Entry journey, customers enter the journey each time they make a purchase. The journey includes multiple paths that are each setup for purchasers of a different product. Each customer has a fixed contactID and is assigned a unique purchaseID for each purchase. The same contactID exists in the journey multiple times, each time with a unique purchaseID.
To confirm that the customer sees messaging for the right purchase, set the purchaseID from Contact Data to equal the purchaseID from Journey Data. This expression confirms that journey sends messaging for the correct purchase by confirming that the purchaseID values are the same.
Considerations
- Compare only attributes of the same data type.
- Attributes that allow null values cannot be used in attribute-to-attribute comparison.
- Encrypted fields are not supported.

