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?
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!