Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

String/date-time error in a flow if field is blank from a Microsoft Form to Dataverse

(0) ShareShare
ReportReport
Posted on by

Hi

I have an automated flow from Customer Voice Form to Dataverse that works if a date is selected in the Form field 'Renewal Date', but if it is left blank the flow errors with the following:

 

The 'inputs.parameters' of workflow operation 'Add_a_new_row' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/renewaldate' is required to be of type 'String/date-time'. The runtime value '""' to be converted doesn't have the expected format 'String/date-time

 

Xch21_1-1716482825407.png

Xch21_2-1716482880590.png

 

Xch21_0-1716482784243.png

 

I would be grateful if I could be guided on how to resolve this 

With many thanks

 

 

 

  • KRees Profile Picture
    on at
    Re: String/date-time error in a flow if field is blank from a Microsoft Form to Dataverse

    Perfect!  Thanks so much

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: String/date-time error in a flow if field is blank from a Microsoft Form to Dataverse

    Hi @Xch21 

     

    Pls try using if() function to check for empty or blank value in form field:

    if(empty(<dynamic value of renewal date>),null,<dynamic value of renewal date>)

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492