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.
The result of updating 1 field and leaving the other 5 blank
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'])
Result Screenshot:
Best Regards,
Charlie Choi
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
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
Maybe I am misunderstanding what you are trying to accomplish, but should the flow be:
WarrenBelz
146,518
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,749
Most Valuable Professional