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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (55,609)