This question already has an answer here:
My goal is to send an invitation email via journey to all records who qualifies for certain event. Sending DE "ContactToOnlineEvents" has got two primary keys; Subscriber ID linked to Contact Key and Event ID. It is populated with two records which has got the same subscriber key, but first record has event id 33796 second 33814. Automation studio starts the journey and all records from ContactToOnlineEvents events enters the journey. Then decision split is coming up in the journey, where only records with right event id 33814 should obtain the email. In email I am using AMPscript to personalize the data in it.
The problem is that I am unsure how journey builder treats the contacts. After decision split only one record should proceed and obtain the email with event id 33814, so the upcoming email should be populated with data from event 33814. What happens is that with no re-entry option user will receive one email populated with credential from event 33796 and with re-entry anytime two emails will arrive populated with data from both events.
Even though only one records should be able to proceed in the journey to get the email it seems that journey builder does not treat records as records, but as contacts since both records has got the same subscriber key. I was googling and trying to search in the documentation, but I am unable to solve the problem how to send just one email with populated with correct data from event 33814.