Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

InvalidTemplate - Unable to process template language expressions in action 'Set_up_automatic_replies'

(0) ShareShare
ReportReport
Posted on by 2

Can anyone help me with this error? 

 

InvalidTemplate. Unable to process template language expressions in action 'Set_up_automatic_replies' inputs at line '1' and column '3416': 'The template language function 'addHours' expects a timestamp as the first parameter, the number of hours to add as the second parameter, and an optional format string as the third parameter. The function was invoked with '1' parameter(s). Please see https://aka.ms/logicexpressions#addhours for usage details.'.

 

DavidHarvie_0-1639491251062.png

 

  • MJain Profile Picture
    2,450 on at
    Re: InvalidTemplate - Unable to process template language expressions in action 'Set_up_automatic_replies'

    Hi @DavidHarvie ,

    Please do it this way : addHours(utcNow(),x) where x can be your any integer value.

     

    Thanks

  • DavidHarvie Profile Picture
    2 on at
    Re: InvalidTemplate - Unable to process template language expressions in action 'Set_up_automatic_replies'

    Is this what you mean?

     

    DavidHarvie_2-1639567510515.png

     

    DavidHarvie_0-1639567460375.png

     

    DavidHarvie_1-1639567480611.png

     

     

  • MJain Profile Picture
    2,450 on at
    Re: InvalidTemplate - Unable to process template language expressions in action 'Set_up_automatic_replies'

    Hi @DavidHarvie ,

     

    Can you please post your expression you are using in addHours. 

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow