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 / Skipping Empty Fields ...
Power Automate
Answered

Skipping Empty Fields in Forms

(0) ShareShare
ReportReport
Posted on by

I have created a flow triggered by a Microsoft Forms being filled out and submitted, however I am struggling to figure out how to skip fields in Forms if they are empty. Currently when the form is submitted, the empty field will empty out that part of the SharePoint List. Below is what I currently have.

 

salvaniaj_2-1653589910299.png

 

 

salvaniaj_0-1653589820111.png

 

The result of updating 1 field and leaving the other 5 blank

salvaniaj_1-1653589835826.png

 

Categories:
I have the same question (0)
  • beerad Profile Picture
    on at

    Maybe I am misunderstanding what you are trying to accomplish, but should the flow be:

    1. Form being submitted as the trigger
    2. Get the response ID from the form
    3. Create an Item on the Sharepoint list

    Flow example.png

  • Community Power Platform Member Profile Picture
    on at

    Sorry I just realized I was not clear in the original post. The current form is to update an existing row in a SharePoint list.

     

    So I have that, the issue is that lets say for for all 6 contacts on the form (1-3 Day and 1-3 Night), all of them stay the same but for 2nd Day Time Contact.  If the form only contains information to update 2nd Day time, the flow I have (using Update Item) is currently rewriting the other 5 contacts as blank however, I would like for them to stay unchanged 

  • beerad Profile Picture
    on at
  • Community Power Platform Member Profile Picture
    on at

    I tried using that If formula by calling the fields, but it states expression is invalid. Is there something I did wrong in the expression? I tried it 2 different ways

     

    if(outputs('Get_response_details')?['body/rc434835e962341e086d37fddae50d2e6'] <> "", outputs('Get_response_details')?['body/rc434835e962341e086d37fddae50d2e6'], outputs('Get_items')?['body/value'] )
     
    if(outputs('Get_response_details')?['body/rc434835e962341e086d37fddae50d2e6'] <> "", outputs('Get_response_details')?['body/rc434835e962341e086d37fddae50d2e6'], outputs('Get_items')?['1st Day Time Contact'] )
  • Verified answer
    v-yujincui-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    As the post provided by @BradWest  says, you could try to use the empty() function in the expression.

    if(empty(outputs('Get_response_details')?['body/rc434835e962341e086d37fddae50d2e6']),items('Apply_to_each')?['1st Day Time Contact'],outputs('Get_response_details')?['body/rc434835e962341e086d37fddae50d2e6'])

    vyujincuimsft_0-1654153187401.png

    vyujincuimsft_1-1654153215144.png

    vyujincuimsft_2-1654153325993.png

    Result Screenshot:

    vyujincuimsft_3-1654153392676.png

     

     

    Best Regards,
    Charlie Choi

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