01-30-2015 04:12 AM
final HistoricProcessInstanceQuery processQuery = createQuery(procesDefinitionKey);
for (int i = 0; i < 3; i++) {
System.out.println("Check[" + i + "] There are " + processQuery.finished().list().size() + " finished");
System.out.println("Check[" + i + "] There are " + processQuery.unfinished().list().size() + " unfinished");
}
Check[0] There are 2 finished
Check[0] There are 0 unfinished
Check[1] There are 2 finished
Check[1] There are 0 unfinished
Check[2] There are 2 finished
Check[2] There are 0 unfinished
Check[0] There are 2 finished
Check[0] There are 0 unfinished
Check[1] There are 0 finished
Check[1] There are 0 unfinished
Check[2] There are 0 finished
Check[2] There are 0 unfinished
protected boolean finished = false;
protected boolean unfinished = false;
protected boolean deleted = false;
protected boolean notDeleted = false;
02-10-2015 11:06 AM
02-16-2015 09:04 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.