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 / Input parameter of App...
Power Automate
Suggested Answer

Input parameter of Apply to Each contains invalid expressions?

(1) ShareShare
ReportReport
Posted on by 18
Hi
 
I a new-ish flow writer. I have previously created a simple flow which checks a SharePoint library, and applies two condition checks and updates a choice column based on the outcome. This was created on the old UI.

I am trying to recreate this at my new workplace. I have a SharePoint Document Set library, and want to do the same sort of checks:
  • If the Alert Date is > Now, change the status to Good. If not, change the status to Expiring. (This gives 60 days' notice that this is about to expire.)
    • For those Expiring TMPs, now check if the End Date is > Now, and change the status to Expired.
I want this flow to run automatically each day, so have started with a Recurrence. Next I have Get files (properties only). Then I have Apply to each. I then have my two condition checks, but I have an error - The input parameter(s) of operation 'Apply to each' contains invalid expression(s)
 
 
Parameter is body/value
 
 
Also see here where I had some help but not enough help for me to mark this as solved: https://community.powerplatform.com/forums/thread/details/?threadid=6bf49ea0-da6f-ef11-a671-6045bda935ce In that thread, the person 'helping' me got me so far, but then got grumpy with me and refused to continue to help. I've tried researching on my own, and researching threads on this forum, but I can't understand what I am doing wrong. And in the meantime, Flow won't let me save my progress, so I've had this window open on my PC for days...
 
Looking forward to your help.
Graeme_NZ
 
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at
    Can you share a screenshot of the code view tab of the Get Files (properties only) & Apply to each actions? This way we can double check what is used and this will help to find a root cause.
     
    Example Get files (properties only) code view
     
     
    Example Apply to each
     
  • Suggested answer
    Graeme_NZ Profile Picture
    18 on at
    Hi - Thanks for your response. I got busy on another project and didn't notice this answer until today. I logged back in to my draft flow and realised I had a missed character. Seems to be ok now. I'll mark this as solved so it doesn't clutter up the list.
  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at
    Great to hear you managed to fix it. And thanks for feeding back how you managed to solve it.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard