Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.

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