07-26-2013 06:52 AM
runtimeService.createExecutionQuery().count()
runtimeService.createProcessInstanceQuery().count()
07-29-2013 07:24 AM
HistoryService historyService = processEngine.getHistoryService();
List<HistoricProcessInstance> hpiList =
historyService.createHistoricProcessInstanceQuery().unfinished().list();
With this list you should get all the process instances which did not reached the end state yet. I used it to restart all my unfinished jobs.07-30-2013 05:54 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.