cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Robert94
Responsive Resident
Responsive Resident

How can I filter an item that is within an item? Filter MeetingTimeSuggestions by attendee availability

Robert94_0-1651587698816.png

Please see the pic first.
So to filter the array by "organizerAvailiability" the expression is @equals(item()?['organizerAvailability'], 'free')
But how do I write to filter the array If "availability" of the "attendeeAvailability" item equals free?

Robert94_1-1651589097949.png

 



 

3 REPLIES 3
takolota
Super User
Super User

It should either be…

 

@equals(item()?['attendeeAvailability']?[‘availability’], 'free')

 

Or

 

@equals(item()?['attendeeAvailability']?[0]?[‘availability’], 'free')

Robert94
Responsive Resident
Responsive Resident

But with what function can I use that, filter array is not working, it`s saying the expression is too complex 

Robert94_0-1651677807070.png

 

It’s too complex to switch back to the basic mode view, but you should still be able to run the flow & action without changing back to basic view.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,565)