I am calling a SQLServer stored procedure in flow to add a row to a table. The next statement I call another flow that generates a CSV file from the table just updated. The problem I am running into is the stored procedure row create is succeeding but the CSV generation sometimes pulls data in the table previous to the row add, sometimes it pulls correct. Very inconsistent. I have tried a Refresh() before calling the CSV but that is not working either.
createReceipeRunForCsv.Run(1); <- Creates a row in the fp_recipeRunForCsv table
callBuildRunCSVfile.Run(JSON(fp_recipeRunForCsv,JSONFormat.IndentFour) <- Shows inconsistent data. Sometimes correct, sometimes it shows what was in the table BEFORE the row create
Any ideas?

Report
All responses (
Answers (