AnsweredAssumed Answered

Retrieve Historic Task

Question asked by jrmich44 on Jun 5, 2014
Latest reply on Jun 6, 2014 by martin.grofcik
Hello,

Is there a way to return the most previously completed task generically? I know that you can use the HistoricTaskService to search for a historic task but I am not quite sure what to search on. You cannot use the previous task ID because the task has already been completed and therefore you have no way of retrieving the completed task ID. I also would not like to use the task name in case in the future the name of the task changes.  An example would be if both tasks A and B transition to task C when they are completed, is there a way to know once you are in task C if you got there from task A or task B?

Outcomes