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

Notifications

Announcements

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 2025 Season 2 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.
     
     
  • 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 2025 Season 2 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
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 190 Super User 2025 Season 2

Last 30 days Overall leaderboard