I created this flow to insert rows into sql table automatically from SharePoint. Insert Row to Sql is working good whereas, the Update Row to Sql is not working as expected. If I add two rows in the sql and I edit one row in SharePoint, it updates both rows in Sql whith same data. Please if someone can explain how Update row to Sql should proper way should be done. Thanks.
Solved! Go to Solution.
The behavior that you describe is exactly what I would expect based on the screen shots that you have supplied. Every row returned from the Get rows action is being looped through and updated. It sounds as though you want an additional condition before the Update Row or you need to filter the rows returned by Get Rows differently.
Thanks for your respond, is there a way if you can capture and image how would you have done it.
Again here is how my flow works now. Lets say I add two rows to SharePoint and automatically they get inserted in SQL with no issue. When I modify one of the rows in SharePoint, it updates my both rows in SQL all the SAME...
I believe that the issue is with your Get Rows action. Can you share how you are filtering the rows that you get back? Are you only retrieving the row that is realted to the SharePoint entry that has been updated?
Why are you using a Get Rows action before you know if the entry is a new entry or one that is being updated?
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Many congratulations to the Season 1 2021 Flownaut Crew!
Check out our new profile badges recognizing authored solutions!
Check out the community blog page where you can find valuable learning material from community and product team members!