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 / For Each Error Null Type
Power Automate
Answered

For Each Error Null Type

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I might of added this in the wrong forum : -) 

 

https://powerusers.microsoft.com/t5/General-Discussion/For-Each-Area-failed/m-p/332212#M95444

 

but I have a For Each block which is erroring with Null Type even though there is a valid value in the column.

Please see link above for details and screen shots of error

 

Regards

 

Andrew

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,145 on at

    @Anonymous 

     

    can you post screenshot of the actual Flow with the error and showing outputs from all steps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RezaDorrani,

     

    I have attached some photos ..

     

    Request Approval Flow.PNG

    Request Approval Flow 2.PNG

     

    Request Approval Flow 3.PNG

     

     

    Request Approval Flow Error.PNG

    Affected Area - Get File Properties Output

    Affected Area not NULL.PNG

     

    I don't think it is overly complicated and I am not too sure why it got a bug up it .. but maybe because I copied / saved as from another Flow and re-mapped the libraries - but I don't know why that would be a problem.

     

    Regards,

     

    Andrew

  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    @Anonymous 

     

    Check the internal name of the column affected areas

     

    Post screenshot of output from getfileproperties action 

     

    Also show screenshot of the expression used to get affected areas

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RezaDorrani,

    You nailed it.. The column had been created with a slightly different internal name.. so deleted this part and re-added it .. all looks good to go

     

    Cheers

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
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard