Hi Guys, so I have this kind of issue where in when I fetch data from D365 then write it to Excel stored in sharepoint, I am having a discrepancy issue with it. So here is my process in detail
1. Get List of data from D365.
2. Do "Apply to each" with the list fetch from #1
3. Inside the loop, write each data per row iterated from #2 in Excel file stored in Sharepoint.
4. After done, delay 5m to ensure all is written.
5. Fetch the file from sharepoint then distribute in email.
So the issue here for example, I have 1000 rows of data fetched from #1 but I am receiving a mail sometimes with just 800+ or so rows in the excel file. And sometimes, data writing was very smooth with no missing data on the excel. So I want to know how can we prevent this from happening? Thank you