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 Error on Date String
Power Automate
Answered

Flow Error on Date String

(0) ShareShare
ReportReport
Posted on by 8
Hi All 
 
I am really looking for some help, I am very new to using Power Automate, Lists, Forms etc. And everything I have learned has been off google or youtube. 
 
I have created a list and flow, that all works. But I have 133 forms already completed that did not go through the flow and I want them to be added to the same list. 
 
I have created a flow doing: 
 
- Manually Trigger Flow 
- List rows present in a table 
 
Then connected everything through, the flow works but doesn't like the field for the dates, and that's a really important part of the information. It comes up with this message: 
 
The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/LEAVINGDATE' is required to be of type 'String/date'. The runtime value '"45359"' to be converted doesn't have the expected format 'String/date'.
 
I have tried changing the format in excel and on the list to custom, text, date etc. But nothing seems to be working. 
 
What am I doing wrong :( 
Categories:
I have the same question (0)
  • Suggested answer
    ran_dale Profile Picture
    71 on at
    Hi @ JG-25101045-0
     
    you need to format the data with the build-in function "formatdatetime".
    This could look like this: 
    formatDateTime('<dynamic-value>', 'dd/MM/yyyy hh:mm tt')
     
    More about the function:
     
    Hope this helps!
    ~Dale
  • JG-25101045-0 Profile Picture
    8 on at
    Hi @ran_dale 
     
    Thank you for responding. 
     
    Don't suppose you know how I would go about doing that? 
     
    Gave it a go, but like I said, very new and don't really understand all the actions within PA. 
     
    Thanks
    Jackie 
  • Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at
    Looks like this date is comming from Excel ?!
    If so, just check the connectors advanced options an set the datetime format to ISO-8601
  • ran_dale Profile Picture
    71 on at
    Hi @JG-25101045-0,
     
    Can you send me a screenshot of the flow? Then I can help you with your example.
     
     
  • JG-25101045-0 Profile Picture
    8 on at
    Hi @ ran_dale 
     
    Hope this helps. 
     
    Thanks
    Jackie 
     
  • JG-25101045-0 Profile Picture
    8 on at
    Hi @Chriddle 
     
    It is coming from excel. 
     
    Not sure how to do what you've asked, looked in CONNECTORS under DATA and there was nothing there. 
  • Verified answer
    Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at
    Click "Show advanced options", then select "ISO 8601"
  • Suggested answer
    CU15102006-0 Profile Picture
    2 on at
    I finally found a really helpful walkthrough by Michael Alex on Youtube called "Potential Issues with Importing Excel Date Data Fields in Power Automate with Solutions - Tutorial" that walked me through how to write the expression.
     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard