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 / From Forms Date to Pow...
Power Automate
Answered

From Forms Date to Powerautomate Add 114 days to date to Planner task due date

(0) ShareShare
ReportReport
Posted on by

Hey community, 

 

I want to take the date from Microsoft Forms using powerautomate add 114 days to it and put that as the due date in Planner for a task that is generated. 

 

Example: Someone puts 1/1/2023 in the form. I want to add 114 days to that automatically and then take the new date and put that as the due date for the planner task that is created.

 

Here is one error I get. But I figure there is a better way to do it.

Unable to process template language expressions in action 'Format_90_Days' inputs at line '0' and column '0': 'The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#formatdatetime for usage details.'.

 

Thanks!

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,944 Super User 2026 Season 1 on at

    Hi @zaddison ,

     

    The issue is likely to be that the user did not enter a date into the form, and this your expression is trying to format an empty string (null value) to a Date Time format:

    The provided value is of type 'Null'.

     

    Please check the date in the forms response, and check the formatDateTime expression to ensure that it is recieving a valid date.


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @zaddison,

    Have you resolved your problem?

    Actually, @ekarim2020 is right that your data source probably has null value in records. To solve this, you could skip these null values:

    if(empty(<dynamicContentWithDate>), <ifConditionIsTrue>, <ifConditionIsFalse>)

    You could format the date time in the branch of the ifConditionIsTrue.

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 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard