cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
livingstonep
Level 8

Access Array variable elements in MS Flow

Our flow Get Items step is failing because we can't get the individual array element values for our VolunteerManager field

 

we have the array composed like this:

ComposeVolunteers.PNG

when that executes we get this:

Volunteers5.PNG

 

we union that in a Set variable action to basically group the records:

union(body('Get_Volunteer_Managers'), body('Get_Volunteer_Managers'))

we try to filter our get Items step using an OData Query like this:

VolunteersArray1.PNG

but when we run it in our get Items step (in the loop) to retrieve the records having the current VolunteerManager we get this:

VolunteersArray2.PNG

 

that should say:

 

VolunteerManager eq 'Michelle Russell' and Status eq 'Submitted'

 

 

so how can we get the value correctly?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Access Array variable elements in MS Flow

 

Hi @livingstonep ,

 

Please try the following expression to configure Filter Query:

variables('Unique Names')?[0]?['Name']

 

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

1 REPLY 1
Community Support Team
Community Support Team

Re: Access Array variable elements in MS Flow

 

Hi @livingstonep ,

 

Please try the following expression to configure Filter Query:

variables('Unique Names')?[0]?['Name']

 

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,149)