web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create item with null ...
Power Automate
Unanswered

Create item with null for date

(0) ShareShare
ReportReport
Posted on by 14

Hi,

 

There have been so many of these posts but I cant seem to see whats going wrong with mine!

Getting the following error.

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

 

My expression is:

 

 

if(empty(body('Get_response_details')?['rb44f98b5f2804da9a17dfab3313b3c4f']),null,body('Get_response_details')?['rb44f98b5f2804da9a17dfab3313b3c4f'])

 

 

 

Hopefully I'm just missing some little thing...

 

Thanks

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @Tim_Opie-SWRB The empty() function returns a true or false value. Try this expression instead.

    coalesce(body('Get_response_details')?['rb44f98b5f2804da9a17dfab3313b3c4f'], null)

     

    This expression will:

    1. Attempt to return the value of rb44f98b5f2804da9a17dfab3313b3c4f from the response of the Get response Details action.
    2. If this field is present and has a value (not null or empty), it returns that value.
    3. If the field is null or empty, the coalesce() function returns null.

     

    In the meantime, you might be interested in a new YT Tutorial I recently uploaded: How to Get a Microsoft Form RSVP Response into a SharePoint List

    I cover the following in this video tutorial:

    ✅How to get a Microsoft Form Response into SharePoint

    ✅How to get a Microsoft Form ID

    ✅How to get a Microsoft Form response

    ✅How to Build a Microsoft Form with Conditional Fields

    ✅How to used Branching in Microsoft Forms

    ✅How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column

    ✅How to parse a Microsoft Form multiple choice response as string of text

    ✅How to convert a text response to a number

    ✅How to use the Switch action

    ✅How to create a custom email confirmation for a Microsoft Form submission

    ✅How to Create a Custom View in a SharePoint list

    ✅How to use the Compose Action

    ✅How to write Power Automate Expressions

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response! 

    👉Watch my tutorials on YouTube
    👉Tips and Tricks on TikTok

  • Tim_Opie-SWRB Profile Picture
    14 on at

    Thanks for the quick response. I'll give your expression a go.

    But, isn't that what the 'if' statement is supposed to? The 'empty' expression returns true, so the value should be null?

     

    Cheers

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @Tim_Opie-SWRBSorry, you are correct. Can I ask which designer you are using to edit your flow with? If you are using the New Designer, can you switch over to the Classic Designer to see if that solves your problem?

     

    The New Designer is still buggy and I've noticed issues with it especially when using any of the MS Form actions or trigger.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard