cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
james_riach
Level: Powered On

The template validation failed

Hello,

 

I am trying to create a simple Flow that kicks into action when a call status = Business Process Development in list A. It will then create all the relivent fields from A into list B and then finally will send an email to a user.

 

I am running into the below problem whilst trying to save the Flow:

 

The template validation failed: 'The repetition action(s) 'Apply_to_each_2' referenced by 'inputs' in action 'Send_an_email_2' are not defined in the template.'.

 

error msg.JPGcondition.JPGconditions 2.JPGemail.JPG

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
james_riach
Level: Powered On

Re: The template validation failed

Ok, so I have managed to figure out the problem. It seems that the issue was occuring due to the body of the email I was trying to send. Where I had copy and pasted the body from another flow email (similar to this one) it did not like the Dynamic Content that was already included in the body.

 

Simply I removed the content and then added it all back in again and it worked.

 

Thanks for your help 🙂

 

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: The template validation failed

Hi @james_riach,

 

Do you have a SharePoint list column named as "Call_x0020_Type.Value"? I'm asking this because that I found the name is really unusual. Also, from the error message, we could see that there should be an "Apply to each" feature inside the flow but I cannot see it from the screenshots. Also, what did you fill in the "To" field in send an email action?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
james_riach
Level: Powered On

Re: The template validation failed

Ok, so I have managed to figure out the problem. It seems that the issue was occuring due to the body of the email I was trying to send. Where I had copy and pasted the body from another flow email (similar to this one) it did not like the Dynamic Content that was already included in the body.

 

Simply I removed the content and then added it all back in again and it worked.

 

Thanks for your help 🙂

 

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,509)