Hello,
I have an array of objects that gets returned to me from a POST method. Within each object is another array. My goal is get only the first item of that nested array (the first item in the "heirarchy" array".
Here is an eaxample of what is returned.
{ "categories": [ { "category_id": "10000000", "group": "special", "hierarchy": [ "Bank Fees" ] }, { "category_id": "10001000", "group": "special", "hierarchy": [ "Bank Fees", "Overdraft" ] }, { "category_id": "10002000", "group": "special", "hierarchy": [ "Bank Fees", "ATM" ] }, { "category_id": "10003000", "group": "special", "hierarchy": [ "Bank Fees", "Late Payment" ] } ] }
Solved! Go to Solution.
You can use [0] to get the first item.
More details here:
https://veenstra.me.uk/2018/11/13/microsoft-flow-single-item-nested-arrays/
You can use [0] to get the first item.
More details here:
https://veenstra.me.uk/2018/11/13/microsoft-flow-single-item-nested-arrays/
Check this awsome video from Audrie, It answered this the best:
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
70 | |
24 | |
18 | |
16 | |
13 |
User | Count |
---|---|
137 | |
44 | |
32 | |
32 | |
29 |