Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Data Prep on arrays value

Avatar

Level 3

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

Nick_2024_0-1724576416304.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Nick_2024 

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-operation...

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@Nick_2024 

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-operation...

Avatar

Employee

@Nick_2024 

 

can you please help clarify more as to what is your goal with the the data prep function?