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 32
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,891 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
    32 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard