cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

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
Advocate III
Advocate III

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
Highlighted
Community Support
Community Support

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
Advocate III
Advocate III

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