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

accessing filtered array properties or elements without apply to each

hello!

 

i have a sharepoint list of store information eg address, name of store , etc and City..the sharepoint list is filtered into an array by a condition.

 

Where I'm getting messed up is how to get "WorkCity" without using apply to each (I use 

outputs('Filter_array_-_find_match_to_member_domain_list')?['body']?['value'][0]?['WorkCity'])
 
but still get an error.
 
any ideas?
thanks!

 

Screen Shot 2021-11-30 at 11.15.41 PM.pngScreen Shot 2021-12-03 at 12.19.16 AM.pngScreen Shot 2021-12-03 at 12.42.37 AM.png

1 ACCEPTED SOLUTION

Accepted Solutions
ekarim2020
Community Champion
Community Champion

For the Set Variable 5 action, please try:

body('Filter_array_-_find_match_to_member_domain_list')[0]?['WorkCity']

 

 


Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
ekarim2020
Community Champion
Community Champion

For the Set Variable 5 action, please try:

body('Filter_array_-_find_match_to_member_domain_list')[0]?['WorkCity']

 

 


Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

adylim
Frequent Visitor

that's it!

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Users online (1,381)