I have queried and activityInstance from history using the historicAcitivityInstanceQuery. How would I retrieve the taskId from this activityInstance? Is there something as simples as activityInstance.taskId?
.getTaskId()
Thanks, Stephen. I was looking at activityInstanceId which has no getTaskId() instead of historicActivityIntstanceId! Goes to show that it doesn’t pay to work overtime.