only process results if the task executed successfully