Hello.
I want to log Start time for Activities, Script activity to be precise.
I saw that i can get it by calling
historyService.createProcessInstanceHistoryLogQuery(processInstanceId)
.includeActivities()
.includeComments()
.includeTasks()
.singleResult()
and for HistoricActivityInstanceEntity i can get the time (.getTime()).
I've notice that i get the start time data ONLY AFTER the activity is done.
Meaning i can't get start time for failed activities that are stuck. (This is a requirement )
Obviously the data is stored some Where.
Do you know a good way to retrieve by activityId the startTime of an activity that is currently running/Stuck?
Thanks