Solved
Data Prep on arrays value
is it possible to do logic on every field of an array in dataprep? e.g. iif(xdm.eventList[*].name == '2000', 1, 2)? it gives me arror, what is the right way? thanks

is it possible to do logic on every field of an array in dataprep? e.g. iif(xdm.eventList[*].name == '2000', 1, 2)? it gives me arror, what is the right way? thanks

I don't believe you are able to use the syntax you are providing 'iif'. Check this documentation below and see if this helps.
https://experienceleague.adobe.com/en/docs/experience-platform/data-prep/functions#special-operations
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.