cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (83,092)