Search array in expression
Hi,
I have a journey which triggers an event (first activity)
The parametrs in the event are - an array called "legs" and "customer Number" .
I am using a condition activity to check if a specific value within the array exists.
Within the condition, I am passing the array and value as parameters using the "in" function.
Below is the expression:

If i check for the array at position 0, or at position 1, the expression looks correct with no error. However, if I want to search the whole array using "all()" the expression throws an error as below . How do I check if a value is present in all of the array?

Below is the schema structure:

Thanks in advance.
Ishani