12-07-2010 09:03 AM
private void terminateExecution(ExecutionImpl execution) {
for (ExecutionImpl e : execution.getExecutions()) {
terminateExecution(e);
}
terminateExecution(execution.getSubProcessInstance());
execution.end();
}
ProcessInstance processInstance = runtimeService.createProcessInstanceQuery().singleResult();
ExecutionEntity executionEntity = (ExecutionEntity) processInstance;
for (ExecutionImpl e : executionEntity.getExecutions()) {
terminateExecution(e);
}
12-08-2010 05:23 AM
12-08-2010 06:45 AM
12-02-2014 01:46 PM
12-02-2014 03:25 PM
12-02-2014 03:27 PM
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.