web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Function not working i...
Power Automate
Answered

Function not working in filter array

(0) ShareShare
ReportReport
Posted on by 76
Hello!
 
Now, I'm sure this is just my coding and function ignorance but my filter array keeps failing. 
 
Here is my flow:
 
 
It was running exactly how I wanted it too except for one snag. In my sharepoint list I have attached different documents to each of the list rows. I want the emails to send to each individual with their specific documents but it was sending with all the documents. It seemed filter array could fix this, to filter the attachments array before I send the emails. However, it keeps saying field_1 is Null. I've checked, field_1 does correspond to sharepoint list and there is data in there. I'm sure I must have just written the function incorrectly or something simple, can anyone advise?
 
 
thank you. 
 
Categories:
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
    Hi,
     
    if the field_1 has value present in it, and still shown as null, then one possibility i could think of is internal column name corresponding to field_1 is wrong, could you check what is correct internal column name to be used for the sharepoint list ?
     
    refer below to find the internal column of sharepoint column and use that same in the expression ?
     
     
    Hope it helps !
     
    Thanks & Regards,
    Nived N
     
  • LB-20090315-0 Profile Picture
    76 on at
    Hi Nived,
     
    thanks for the suggestion. I've just checked, yes the internal column name is field_1. What do I do next?
     
    Kind Regards,
    Lauren
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
    Hi,
     
    should have looked into attachments array contents earlier- i could see your attachment array - each object has 2 properties- Name and Content, while field_1 property is not found in that. so are you reference field_1 from loop (for each ) if yes , then you should have use items('For_each')?['field_1'] instead.
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard