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 repetition action(s) 'Apply_to_each_3' referenced by 'inputs' in action 'Send_an_email_(V2)' are not defined in the template.'.'.

(0) ShareShare
ReportReport
Posted on by 4

I can't figure out why my flow will not let me save. 

I have a list that I want to change the score value on, then have the flow run the following: if score below 80 email supervisor saying employee failed the test, and if they scored 80 or above email saying the employee has passed their test.

I have an automated cloud flow, it watches for the list on my sharepoint site to be modified, then it "get items" from the list. Then I get here: (see attached photo)Capture.JPGand am lost as to why this doesn't work. Any advise would be appreciated. 

Categories:
I have the same question (0)
  • Ventit Profile Picture
    422 on at

    Your error refers to Apply_to_each_3  You image shows Apply_to_each.  Look for that then the Send email

  • FearsomeWhisp Profile Picture
    4 on at

    I don't have an apply_to_each_3 though, that is the weird part of this error. My flow ends right at the bottom of that screen shot.

  • Ventit Profile Picture
    422 on at

    Maybe you had an apply to each 3 originally and in the fields in the email still refers to it. Run your mouse over one of the fields and let the pop up tell you what it is referencing

  • FearsomeWhisp Profile Picture
    4 on at

    Alright, so I managed to sort out that issue based on your suggestion, I now get this issue. Any suggestions? 

    FearsomeWhisp_0-1650306877954.png

     

  • koray1 Profile Picture
    117 on at

    How did you solve this problem?

  • Qudsia00 Profile Picture
    10 on at

    Saw an answer that made sense here. It has to do with choice columns that allow multiple values: https://powerusers.microsoft.com/t5/General-Power-Automate/Flow-Automatically-Creates-Foreach-Loop/td-p/190264

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard