String[] uuids = getCurrentlyHarvesterResourceUuids();
String[] canceledUuids = new String[]{};
try {
ArrayList<String> uuidsToCancel = new ArrayList<String>();
HjRecords records = selectAll(uuids);
for (HjRecord r : records) {
if (r.getStatus() == JobStatus.Canceled) {
uuidsToCancel.add(r.getHarvestSite().getUuid());
}