cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ollyberry7
New Member

Error Message

I am trying to create a new flow and have following a YouTube tutorial step-by-step, however, I am getting this error message:

 

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

 

I have uploaded images of my flow. Can anyone see what the issue might be, please?

 

I would really appreciate the assistance.

 

Olly

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @ollyberry7 ,

 

You will need to exchange the Condition control and Apply to each Control, which means Condition should be inside the Apply to each.

 

Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
ollyberry7
New Member

Error 1.png

Error 2.png

  

Hi @ollyberry7 ,

 

You will need to exchange the Condition control and Apply to each Control, which means Condition should be inside the Apply to each.

 

Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

v-jefferni
Community Support
Community Support

Hi @ollyberry7 ,

 

Have you solved this issue?

 

Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,569)