cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Issac
Level: Powered On

Update SharePoint Item without deleting other properties after a Survey is retaken.

Hello all,

 

I'm currently working on a Flow meant to move Form survey results over to a SharePoint list. The survey has 17 different sections that can be filled out. The issue i'm running into is updating a SharePoint item if they retake the survey and fill out a different section. Let's say the user takes the survey once and fills out section 2. A week later they retake it and only fill out section 4. Is there a way I can have Flow check if the user has already submitted a response- and if so- update the old results with the new section and not deleting the old submissions.

 

Thank you,

Issac 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Update SharePoint Item without deleting other properties after a Survey is retaken.

Flow questions should be posted in the Flow Community more quicker and more robust answers, 

That being said, it would depend on how you have structured the data in Sharepoint.  If you have a unique identifier for the survey AND the individual so that you can identify their survey, you can do a get items with an ODATA query in Flow to pull back that specific record. That will give you the item ID for their survey with shich it should be straightforward to update the correct record with the new data in only the section to be recorded this time.1A.png

View solution in original post

1 REPLY 1
Super User
Super User

Re: Update SharePoint Item without deleting other properties after a Survey is retaken.

Flow questions should be posted in the Flow Community more quicker and more robust answers, 

That being said, it would depend on how you have structured the data in Sharepoint.  If you have a unique identifier for the survey AND the individual so that you can identify their survey, you can do a get items with an ODATA query in Flow to pull back that specific record. That will give you the item ID for their survey with shich it should be straightforward to update the correct record with the new data in only the section to be recorded this time.1A.png

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 311 members 4,897 guests
Please welcome our newest community members: