03-20-2013 03:36 AM
<bean id="processEngineConfiguration" class="org.activiti.cdi.CdiStandaloneProcessEngineConfiguration">
<property name="history" value="full"/>
</bean>
List<HistoricTaskInstance> historicTasks = historyService.createHistoricTaskInstanceQuery().processInstanceId(processInstanceId).list();
for (HistoricTaskInstance hti : historicTasks) {
List<HistoricDetail> vars = historyService.createHistoricDetailQuery().processInstanceId(hti.getProcessInstanceId().taskId(hti.getId()).list();
List<HistoricDetail> vars2 = historyService.createHistoricDetailQuery().processInstanceId(hti.getProcessInstanceId()).list();
}
03-20-2013 06:07 AM
vars=null
vars2 can get the true variabls but the whole processVars not what i want.
i noticed that, the vars2 i've got ,getTaskId()=null;
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.