Can I use Task Queue to fetch data and refresh a data list?

I have a data list that we are currently using a Javascript action to refresh the context if the data is loaded. This works ok but isn’t easy to debug. We would like to use Task Queues, but I can’t seem to figure out how to refresh the client after the task is completed. Is this possible using Task Queues? 
1 answers

Hi Clint,

Task queues run server side asynchronously, so if you want to perform an action once a task has completed, I believe the only option at the moment is that you would need to add some meta-data and logic to record when the task had completed and then poll within the client to refresh the page.

Another option is to leverage System.ProcessedQueueTask this contains all completed tasks and includes the microflow name and arguments, so you could query this entity to determine when your task had completed