Events source data to Profile schema mapping in AEP
Hi Adobe Community, Greetings!
For a certain use case, we were exploring options to create calculated fields from events source table and map it to a profile type schema. Will this work?
In the events source dataset, there are fields which says what is the account type of the user, whether its active or not (Active flag), Identifier, etc.
What we wanted to build in AEP was to create flag/boolean fields for a particular user, accounting for each account type.
For ex - A user can have multiple accounts, say Savings account, Spending account, tax saving account, high returns account. What we want to create is 4 fields for each user. So the schema would essentially have Identifier + 4 account type fields.
Logic of each field-
- Identifier: would be mapped to Identifier.
- Savings Active: if Account type = Savings account AND Active account = True, then Savings Active field turns true else remains false.
- Spending Active: if Account type = Spending account AND Active account = True, then Spending Active field turns true else remains false.
- Similarly, other fields are updated.
This would be done in the mapping section of dataflow.
So, my doubt is around -
If for a user, I received 4 rows, one after the other, where the condition satisfies only that fields should be updated and other fields should not be evaluated. Will that happen, or by default if any condition is not satisfied, the flags are turned to false?
For ex - User 1 has Account type = Savings account and Active flag = true, will that update only Savings Active fields to true, while not updating the other field values in the dataset/schema in AEP? or Along with updating Savings Active field, will it also update other fields to false by default?
Thanks,
Sambit