cancel
Showing results for 
Search instead for 
Did you mean: 

How to get all the completed tasks

satish_m
Champ in-the-making
Champ in-the-making
Hi,
I have to show all the completed tasks (user and service) with completed time stamp. I am trying to get the tasks from HistoryService but it is only returning user tasks. Is there a way to get all the tasks (user and service)  with their completed time stamps?

Thanks,
Satish
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
Try querying HistoricActivityinstances instead of HistoricTaskInstances, this included all completed activities, including service-and user tasks.

satish_m
Champ in-the-making
Champ in-the-making
Hi frederikheremans,

HistoricActivityinstances returning all the completed tasks..thanks for the reply..