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 / Flow save failed with ...
Power Automate
Unanswered

Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Filter_array_2' at line '1 and column '60582' is invalid. Action 'Apply_to_each' must be a parent 'foreach' scope of action 'Filter_array_2' to be referenced by 'repeatItems' or

(0) ShareShare
ReportReport
Posted on by

Error:

swmcatee1_1-1671133589242.png

Filter Array, trying to check: Checking to see if Remediation Plan = TBD or Expected Completion Date is BLANK

swmcatee1_0-1671133480799.png

 

Categories:
I have the same question (0)
  • v-chengfen-msft Profile Picture
    on at

    Hi @swmcatee1 ,

    From the error message you provided, I see two problems:
    1. Items(‘Apply_to_each’) is used in [Filter array], but [Filter array] is not put into [Apply to each]
    2. There is a problem with the formula in the Filter array

     

    For the first question:
    Can you show a screenshot of this part of the flow?


    For the second question:
    Can you mention the content of the formula?
    I can't see anything wrong with the formula in the picture.

     

    It is recommended to use Compose to test whether the content of the formula is correct.
    Reminders are not provided in the Filter array. This leads us to the error.

     

    Best Regards

    Cheng Feng

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard