cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Template Validation Failure

Hi All,

 

I am building a flow that will take text from incoming email and add that text to a correlating field in a SharePoint list. I am using the following YouTTube video as a reference: https://www.youtube.com/watch?v=4bbvrBuW1Z8

 

I keep getting the following error when I attempt to save the flow: 
The template validation failed: 'The action(s) 'Alarm Ref' referenced by 'inputs' in action 'Compose_Alarm_Ref_Output' are not defined in the template.'.

 

Included are some screenshots of my flow, and here is some additional information:

 

'Compose' step expression:

length(body('Html_to_text'))
 
'Compose Alarm Ref' step expression:
add(indexOf(body('Html_to_text'),'Alarm Ref'),10)
 
'Compose Alarm Ref Output' step expression:
substring(body('Html_to_text'),outputs('Alarm Ref'), 10)
 
Thank you in advance for your help!
 
8.16.19 - 1.PNG
 
 
8.16.19 - 2.PNG
 
 
8.16.19 - 3.PNG
 
 
8.16.19 - 4.PNG
 
1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Dual Super User II
Dual Super User II

 Hi @Anonymous 

 

substring(body('Html_to_text'),outputs('Alarm Ref'), 10)

 

should become

 

substring(body('Html_to_text'),outputs('Compose_Alarm_Ref'), 10)

 

Regards,

Reza Dorrani

 

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

2 REPLIES 2
RezaDorrani
Dual Super User II
Dual Super User II

 Hi @Anonymous 

 

substring(body('Html_to_text'),outputs('Alarm Ref'), 10)

 

should become

 

substring(body('Html_to_text'),outputs('Compose_Alarm_Ref'), 10)

 

Regards,

Reza Dorrani

 

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

Anonymous
Not applicable

Thank you @RezaDorrani ! Success!

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,208)