cancel
Showing results for 
Search instead for 
Did you mean: 

Java Service Task history

pernic
Champ in-the-making
Champ in-the-making
I have successfully created a Java Service Task and it executes within the workflow, however I do not notice anywhere within the process instance history that this task executed.  Is this information tracked?  If so, is there a REST interface to access this history.

Thanks!
4 REPLIES 4

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Pernic,

I have found at least one example in activiti jUnit tests org.activiti.engine.test.history.HistoricActivityInstanceTest#testHistoricActivityInstanceQuery.
Regards
Martin

Hey Martin,
Thanks for the response.  I think I need to be more specific.  I have a process that has several manual task and one service task in the middle of these manual task.  I create a process instance and complete each manual task.  When I complete the manual task prior to the service task, the service task will automatically execute and go to the next manual task as expected.  When the process instance is completed and I review the history for this instance all of the manual task show up, but the service task does not.  My concern is that service task are not logged to the instance history.  Am I missing something?

Thanks!
pernic

jbarrez
Star Contributor
Star Contributor
No, service tasks should be logged to ACT_HI_ACTINST

pernic
Champ in-the-making
Champ in-the-making
Thanks found it!  Also, found it in the REST, which is also where I was looking.  Just looking at process tasks and not process activities.