cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Penngineer
Helper I
Helper I

Error Message.

Any idea how to fix this?

 

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

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Penngineer,

 

The error is the Update item action location is incorrect. If you have an action named Apply to each, you should put the Update item action into the Apply to each action.

 

If the Flow still has the issue, please share a screenshot of your Flow, it will help us assist you better.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

I think I got it!

 

Flow1.pngFlow2.pngFlow3.png

View solution in original post

5 REPLIES 5
v-litu-msft
Community Support
Community Support

Hi @Penngineer,

 

The error is the Update item action location is incorrect. If you have an action named Apply to each, you should put the Update item action into the Apply to each action.

 

If the Flow still has the issue, please share a screenshot of your Flow, it will help us assist you better.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1.png2.png3.png4.png

Hi @Penngineer,

 

Please remove the Apply to each 2 and Apply to each 3 actions, it is unnecessary.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

To get rid of them, I think I have to make variables for the comments and response as those are tagged with "response" and must be applied to each "response".

I think I got it!

 

Flow1.pngFlow2.pngFlow3.png

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,771)