I'm trying to go from this:
{
"fruits": [
{
"name": "Apple",
"price": 35
},
{
"name": "Banana",
"price": 12
},
{
"name": "Grapes",
"price": 45
},
{
"name": "Pineapple",
"price": 200
}
]
}
To this:
[ "Apple", "Banana", "Grapes", "Pineapple" ]
Without looping through the first array. Any ideas on how to do that? Thanks!
Solved! Go to Solution.
Like this:
Create a select action. Put it into text mode. Expression for from is:
outputs('Compose')['fruits']
expression for map is:
item()['name']
output is:
[
"Apple",
"Banana",
"Grapes",
"Pineapple"
]
Like this:
Create a select action. Put it into text mode. Expression for from is:
outputs('Compose')['fruits']
expression for map is:
item()['name']
output is:
[
"Apple",
"Banana",
"Grapes",
"Pineapple"
]
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.
User | Count |
---|---|
26 | |
25 | |
22 | |
22 | |
11 |
User | Count |
---|---|
45 | |
33 | |
31 | |
31 | |
30 |