Hi, if the exportTM task fails, then it gets into an endless loop, because it tests only for the "Done" state: do { backgroundTask = await ApiConnection.Get<BackgroundTask>(ApiUrls.GetTaskById(response.Id), null); } while (backgroundTask.Status != "Done");
Hi,
if the exportTM task fails, then it gets into an endless loop, because it tests only for the "Done" state:
do
{
backgroundTask = await ApiConnection.Get(ApiUrls.GetTaskById(response.Id), null);
}
while (backgroundTask.Status != "Done");