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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow intermittently fa...
Power Automate
Unanswered

Flow intermittently failing with parsedate expression

(0) ShareShare
ReportReport
Posted on by 45

I have flow that saves PDFs to Sharepoint, an AI model that extracts data and then saves to Google Sheets. 

 

I added a parsedate expression to each field and the files processed correctly all last week. Now today, I get the following error although, the files have been added to Google as expected. 

 

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

 

I removed the expression, flow succeeded but now I'm getting 2023-12-08T00:00:00Z again. 

 

I'm using the wrong expression?

 

Screenshot 2024-03-11 at 5.23.17 PM.png

Screenshot 2024-03-11 at 5.32.40 PM.png

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @KBRedStone 

     

    You need to handle empty values in the input date column. For checking empty or null values, apply if function using an expression. Here is the sample expression:

    if(empty(<dynamic content>),'',formatDatetime(utcNow(),'MM/dd/yyyy'))

     The above expression will not apply formatDatetime function if dynamic value of column is empty or null. 

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard