cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mblotz
Helper I
Helper I

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 @mblotz 

 

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 @mblotz 

 

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

Thank you @RezaDorrani ! Success!

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (44,356)