Expand my Community achievements bar.

Write a function in Journey Orchestration to count the number of elements in array object

Avatar

Level 1

Hi,
We have ProductID stored in array, now we want to add split in our journey based on number of productID one profile has, if its has just one ProductID or more than one ProductID. I tried to use below function, but it seems not working.

count(#{ExperiencePlatform.ProfileFieldGroup.profile.Events.PriceDrop.ProductID}) > 1

 Please suggest.

0 Replies