I am using SharePoint Update Item and want to update single field in the list. I am setting value for the mandatory field and the single field that I want to update leaving other fields untouched.
However, when the flow executes it clears all the other fields in the list for which I have not provided the value.
Quick looking at a code view I noticed that it's passing empty values for the other fields, can I update the code view in flow to fix the issue ? Is there other fix available for this ?
Are all of the fields being cleared out either choice or lookup columns?
Thanks for the reply @ScottShearer .
They all are single line of text. After you replied, I reviewed all the columns in the list and looks like this is hapening only with all the "Single line of text" columns.
I have other types of fields in the list (Multi line text, date, person etc.) but they are not loosing their values.
I don't see why this may be happening to you - it should not be.
As a work around, put a Get Item action before the Update Item action. Then, supply values for Get Item Dynamic Properties for those columns that are being cleared.
Sorry I don't have any better ideas.
Hi, did you find a solution? I only have 1 field I want to update within the list. I am tentative to test my flow because I do not want to lose my list data.
I have the same issue and my list have some choice fields, which is showing their default values rather than the list value. I didn't test the flow since I don't want to overwrite the data. Will have to test it with some dummy data to see if the default values are getting overwritten on those fields.
I'm not sure that this is still an issue for you. I did find that for every SharePoint field that had a default value, that the Update Item step would default to that value. If I deleted the value while editing the PA Update Item, the description text would appear in the GUI and if I peeked at the code, the field would no longer be listed in the update action.