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 20
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,830 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
    20 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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard