cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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

Highlighted

I think I got it!

 

Flow1.pngFlow2.pngFlow3.png

View solution in original post

5 REPLIES 5
Highlighted
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

Highlighted

1.png2.png3.png4.png

Highlighted

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.

Highlighted

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".

Highlighted

I think I got it!

 

Flow1.pngFlow2.pngFlow3.png

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (8,736)