Hi Juan,
Not sure about the context in which you're using the data, but you could use a loop action to iterate over the list in architect, and use the `GetJsonObjectProperty` function in the expression editor to get the "phone number" attribute of each item.
------------------------------
Jacob Shaw
Sr. Software Engineer
------------------------------
Original Message:
Sent: 05-16-2025 17:42
From: Juan David Tami
Subject: How to replace the * in an array jsonpath in architect?
Hi Guys
I'm working with a Data Action which returns a json object as result. Part of that jsonObject is a jsonArray, which is dynamic in size depending on the customer. Sometimes contains 10 items, sometimes 3, sometimes 6. The structure of the array is always the same, same keys, different values. Let's say every item ogf the array contents a phone number. Normally we can use the [ * ] to retrieve all the phone numbers from an array items, however Architect doesn't like the *. Is there any way to replace the * in order to extract all the keys from an array at once?
Thank you!
#Architect
#DataActions
------------------------------
Juan Tami
Cloud Consultant
------------------------------