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 / The datetime string mu...
Power Automate
Answered

The datetime string must match ISO 8601 format."

(0) ShareShare
ReportReport
Posted on by 10
Hey Forum, 
 
I'm trying to automate a process from a Microsoft Forms to Microsoft List using Power Automate. 
 
I have multiple options in the form to add a date, branching away and leaving date fields empty.  
 
I believe the issue is a null value from the empty field. 
 
Whichever field I leave empty is where the process stops when being tested. 
 
My experience is just this project, and I've hid a dead end with a work around (other than making the date a text input)
 
Any help is greatly welcomed, 
 
TIA 
 
MB
 
 
Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,767 Most Valuable Professional on at
     
    You can check the answer for empty values and return a null value with an expression.
     
    Below is an example. It uses the if, empty and null functions. Replace the question id by your specific question id.
     
    if(empty(outputs('Get_response_details')?['body/r8bac1fdcf80f43c2812a17f2da4e9002']), null, outputs('Get_response_details')?['body/r8bac1fdcf80f43c2812a17f2da4e9002'])



     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • MB-04030216-0 Profile Picture
    10 on at
    @Expiscornovus thank you!! 
     
    Worked flawlessly. 
     
    Such a satisfying feeling watching the flow complete after days of getting nowhere! 

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
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard