cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Create and access 2 dimensional array

Hi, I am new to MS flow and need help in creating and accessing a 2Dimensional array in MS Flow

 

I have a sharepoint list as below:

image.png

using this list, i would like to create an array variable Array(AssignedTo,Task) - i.e { [Dileep,T1], [Dileep, T2], [Dileep, T3],[Raghav,T4], [Raghav,T5] }

 

After i get this array created, i would like to retrieve AssignedTo value for Task T3 i.e Dileep

 

Can someone help in acheiving the above requirement.

 

thanks,

-Dileep

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User II
Dual Super User II

Hi @dileeprajam 

 

Can you please share more details on the scenario that you are trying to build? SAR.PNG

 

Here in the screenshot, I am creating an array of object with custom columns and getting the coulmns i need from the returned list. You can do this more effectively by simply using the Filter and Select actions under Data Operations. Create key value pairs and access those from the array then. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

4 REPLIES 4
Dual Super User II
Dual Super User II

Hi @dileeprajam 

 

Can you please share more details on the scenario that you are trying to build? SAR.PNG

 

Here in the screenshot, I am creating an array of object with custom columns and getting the coulmns i need from the returned list. You can do this more effectively by simply using the Filter and Select actions under Data Operations. Create key value pairs and access those from the array then. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Thank you @yashag2255 . This helps

How would one access the value parameter using variables or other function?

 

Cheers.

Hey @DougMyers 

 

The value parameter is of type array. So if you want to access that you can directly do it from the dynamic selector where an array can be referenced. If not, you can use the access name and then the body of the action and then the value parameter to reference it. If you can share more details on the scenario you are trying to build, we might be able to assist you better. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (3,500)