cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KBdotnet
Frequent Visitor

Fetch Key and Value of Array in Microsoft Flow

Hi All, I have an array in MS Flow and I want to retrieve it in the next step . How do I achive that ? My Array in a FLOW is : [ { "Key1": "Value1" }, { "Key2": "Value2" }, { "Key3": "Value3" }, { "Key4": "Value4" }, { "Key5": "Value5" }, { "Key6": "Value6" }, { "Key7": "Value7" } ] I am using below variable which is giving Null ( blank 😞 variables('MyValues')?[0]?[body('Get_Method')?['Key1']?['Value']] Please assist. Regards, KBDotnet

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Fetch Key and Value of Array in Microsoft Flow

 

Hi @KBdotnet ,

 

If you want to get the value of Key1, consider using the following expression:

8.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Microsoft
Microsoft

Re: Fetch Key and Value of Array in Microsoft Flow

@KBdotnet 

 

You can create a array variable in flow and then you can use append to array action to set value to that.

Once you append the array output to the variable you can use it in next actions directly by selecting the variable wherever required.

 

If this information helps you, please hit the like button and mark the solution as resolved, so that it will help other users in future.

Community Support
Community Support

Re: Fetch Key and Value of Array in Microsoft Flow

 

Hi @KBdotnet ,

 

If you want to get the value of Key1, consider using the following expression:

8.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (7,339)