Skip to main content

Notifications

Power Automate - General Discussion
Answered

Flow failing (create SharePoint list) due to missing date in MS Forms

(0) ShareShare
ReportReport
Posted on by 10

Hello,

 

I have a flow that takes data submitted via a form, sends and email for approval, and adds the data to a Sharepoint list upon approval. 

The problem is that the flow is failing when no data is entered in the date field of the MS Form (via the date picker calendar). This date field is not mandatory, and does not always need to have an input.

 

When a date is entered in MS Form, the flow works fine. Is only when no date is entered that the flow fails.
I have made sure that it in the date column settings on MS List, the "Require that this column contains information" is marked as "No".
Your help is appreciated!

 

 

  • Verified answer
    annajhaveri Profile Picture
    annajhaveri 8,531 on at
    Re: Flow failing (create SharePoint list) due to missing date in MS Forms

    @CarolinaSanchez  you check the value of date field from form, if its blank then provide null value for date field in Create Item. You can use expression like below, just replace outputs('Compose') with your date field of form

    if(empty(outputs('Compose')),null,outputs('Compose'))

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard