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.

View solution in original post

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

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (2,465)