Hello,
I think it should be a very simple question, however, as I am a begginer in Activity framework, couldn't figure out how to check which sub-process an Activity belongs to in history Activities. By doing the query below I can retrieve all historiy activities of my process, however, in historicActivityInstance object there is no any attribute that indicates if an activity is part of a sub-process or not, could you please help me on it?
Thanks in advance!
Best regards,
Sandro
activitiServices.getHistoryService().createHistoricActivityInstanceQuery()
.processInstanceId(jobId)
.orderByHistoricActivityInstanceStartTime()
.asc()
.list();