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 Automate
Unanswered

Get a Error

(0) ShareShare
ReportReport
Posted on by 4

Hi Guys,

 


Get the following Error when I tried to test run: Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The repetition action(s) 'Apply_to_each_2' referenced by 'inputs' in action 'Condition_2' are not defined in the template.'.'.

 

Screenshot 2020-12-02 at 23.16.01.pngScreenshot 2020-12-02 at 23.16.08.pngScreenshot 2020-12-02 at 23.16.19.pngScreenshot 2020-12-02 at 23.16.21.png

 

Can somebody help me to see where the mistake is? I'm working with a switch and have condition in every case.

 

Regards,

 

SHM

Categories:
I have the same question (0)
  • Paulie78 Profile Picture
    8,422 Moderator on at

    Inside of your float expression in the step named condition 2, you have a reference to the step/loop called "Apply_to_each_2". But from your flow I cannot see a step called that. Perhaps you need to change it to Apply_to_each, which does exist.

  • SHM Profile Picture
    4 on at

    Hi Paulie,

     

    Thanks for your reply. That what I first did but got this error then: 

     

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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard