As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
List<Execution> executions = runtimeService.createExecutionQuery().list(); List<ProcessInstance> pis = runtimeService.createProcessInstanceQuery().list(); LOGGER.info("Executions: " + executions.size()); LOGGER.info("PIs: " + pis.size());
is there a way to get the "most parent" id of the process which would be the BPMN execution ID
The bottom line is - how do I get at any point the number of activities in a process with ability to say which ones have already completed ?