Hey,
I've created an background task that queries all records in a table and creates a csv file stores it in another table and emails the download link to the end user. This works fine for small tables, but I have a table with more than 70,000 rows and it is growing pretty steadily. On this action the tasks fails I think, because of the size of the table, so I'd like to paginate it which is easy enough on the Query All function, but how do I then combine this into a single csv file? This is my current function stack: