Hi guys,
I'm trying to set up a flow which copy the records from a Sharepoint list to a SQL table.
Current flow: trigger is When an item is created or modified action, then I load the data from both tables, then I'm using the Condition action to check if a record already exists in the SQL table, if yes then update row if not then insert row.
My PK on SQL table is InputCommentKey
Apparently my Condition action is not set up correctly. I'm looping through the items on SP list and looping through the items on SQL table, if a SP list key is equal to SQL table key, then update row, else insert row.
But this is not working correctly.
Can you please help how to copy the data from SP list to SQL table?
thank you