How to see which task is pending, ongoing, completed and rejected ?