web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to process temp...
Power Automate
Answered

Unable to process template language

(0) ShareShare
ReportReport
Posted on by 4

Hello All,

 

I get the below error in my flow. 

Did anyone struggle with a similar issue?

 

Thanks

 

 

Dana123_1-1667460766102.png

 

 

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Dana123 ,

     

    The int function requires sting as the input parameter, could you please share the whole expression in the Compose operator?

     

    Best regards,

  • Dana123 Profile Picture
    4 on at
    addDays('1899-12-30',int(items('Apply_to_each')?['Request received on (DD/MM/YYYY)']),'dd-MMM-yyyy')
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Dana123 ,

     

    Please use formatDateTime() instead of int() for this expression.

    addDays('1899-12-30',formatDateTime(items('Apply_to_each')?['Request received on (DD/MM/YYYY)']),'dd-MMM-yyyy')

     

    Best regards,

  • grantjenkins Profile Picture
    11,063 Moderator on at

    Are you trying to get the difference in days between 1899-12-30 and your Request Received date? Or are you trying to do something else?

     

    addDays function takes in an initial date that you want to add days to; the number of days you want to add; and the date format.

  • Dana123 Profile Picture
    4 on at

    I am trying to use the date from this column 

    Request received on (DD/MM/YYYY)

    in the email (otherwise, Power Automate treats it as a 5-digit code). 

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Dana123 ,

     

    It seems you are using Excel as data source. If so, date values will be saved as numbers in the table. You can use this number for addDays function directly.

    formatDateTime(addDays('1899-12-30',items('Apply_to_each')?['Request received on (DD/MM/YYYY)']),'dd-MM-yyyy')

     

    Best regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 293

#2
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 223 Most Valuable Professional

Last 30 days Overall leaderboard