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 / Empty field keeps fail...
Power Automate
Answered

Empty field keeps failing to update

(0) ShareShare
ReportReport
Posted on by

Hi

I'm using power Automate to populate SharePoint List from MS Forms.

Depending on answers of the user, some fields maybe empty. So, when these fields are empty, I get the following error in the step where SharePoint list is updated.

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

 

What I tried to do in order to update the field is to create "Compose" action and in the SharePoint Item update I used this function (as I've seen in this post )

if(empty(outputs('Compose')),null,outputs('Compose'))
Still I'm getting same error message. Here's snapshot of my Workflow

 

 Workflow.PNG
Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    The number column should contain a valid number when you append dynamic content in it. Or it will report the error you show.

    As a workaround, you could create a condition action before the Create item action, check if the field contains a value, if yes, update it with the value, or no append anything into it, for example:

    Screenshot 2021-01-15 134114.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Thanks, but why the function I used didn't work?

    Also, the field I'm checking if it's empty or not is long text field not numeric.

  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    OK, please share an instance of how you configure it, no matter it is a long text field or numeric, it should work.

    Or how about you use the length() function to check if the length is 0, if it is empty, length will be 0:

    Screenshot 2021-01-18 141726.jpg

     

    length(string(outputs('Get_response_details')?['body/QuestionID']))

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard