EntityCondition actState = new EntityConditionList(UtilMisc.toList(actState1, actState2), EntityOperator.OR);
EntityCondition timeCond = new EntityExpr(org.ofbiz.shark.SharkConstants.timeLimit, EntityOperator.LESS_THAN, new Long(l));
EntityCondition cond = new EntityConditionList(UtilMisc.toList(timeCond, procState, actState), EntityOperator.AND);
eli = delegator.findListIteratorByCondition(view, cond, null, null, null, null);
GenericValue v = null;
while ((v = (GenericValue) eli.next()) != null) {
processIds.add(v.getString(org.ofbiz.shark.SharkConstants.processId));
}
} catch (GenericEntityException e) {