10-01-2013 11:05 AM
NativeHistoricProcessInstanceQuery haiq = historyService.createNativeHistoricProcessInstanceQuery();
HistoricProcessInstance processNative = haiq.sql("SELECT MAX(id_) AS id FROM act_hi_procinst WHERE business_key_ = '"+processName+"'").singleResult(); HistoricProcessInstanceQuery hquery = historyService.createHistoricProcessInstanceQuery();
return hquery.processInstanceId(processNative.getId()).singleResult();10-02-2013 12:44 AM
10-03-2013 05:29 AM
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.