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 Automate
Suggested Answer

ms form to ms list

(2) ShareShare
ReportReport
Posted on by 7
Hello,
 
I have a workflow so when an MS form is completed it maps into a MS list. I have tested this and I am coming across an issue with the flow when a ms form field is left empty or N/A is recorded. In reality this will happen as not all the questions will apply to all. How do I edit the workflow so a record is still created in the list when field are left empty or N/A is recorded 
 
Advise on this would be very much appreciated.
Categories:
I have the same question (0)
  • Suggested answer
    Valantis Profile Picture
    6,735 on at
     
    The most common cause of this is that your flow has a condition or a required field mapping that fails when the Forms response is blank.

    Two things to check:
    1. If you have any Condition actions checking form field values, an empty response will evaluate differently than expected. Wrap your condition logic with an empty() check first, for example:
    if(empty(outputs('Get_response_details')?['body/rXXXX']), '', outputs('Get_response_details')?['body/rXXXX'])
    This returns a blank string instead of null, which SharePoint handles fine.
     
    2. If your SharePoint list column is set to Required, SharePoint will reject the item creation when the mapped value is blank. Either change the column to not required in the list settings, or provide a default value in the flow when the form field is empty.
    For the N/A case specifically, that's just a text value so it should work fine unless your column is a number or choice type that doesn't accept that text. If the column is a Choice type, make sure N/A is one of the available choices in the list.

    Can you share the exact error message from the flow run history? That will pinpoint exactly which action is failing.
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Vish WR Profile Picture
    3,748 on at
     
    Handle empty or “N/A” values before writing to SharePoint.
     
    you could use 
    coalesce(outputs('Get_response_details')?['body/FieldName'], 'N/A')
     
  • Suggested answer
    Haque Profile Picture
    3,653 on at
    Hi @HDAutumn,
     
    We can handle these cases by using expressions that replace empty or "N/A" values with a default (like blank) before writing to the list.
     
    //--This returns the field value if present; returns an empty string otherwise.
    coalesce(triggerOutputs()?['body/YourFieldInternalName'], '')
    
    
    
    if(or(equals(triggerOutputs()?['body/FieldName'], ''), 
          equals(triggerOutputs()?['body/FieldName'], 'N/A')), '', triggerOutputs()?['body/FieldIName'])
    
    //--This sets the field to blank if the form response is empty or "N/A," otherwise uses the actual value.
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • 11manish Profile Picture
    3,333 on at
    To ensure your flow always creates a record:

    Use coalesce() (and optional if() logic) in your Create item action and make sure SharePoint columns are not required.

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