EntityCondition.makeCondition("currentStatusId", EntityOperator.NOT_EQUAL, "WF_TERMINATED"),
EntityCondition.makeCondition("currentStatusId", EntityOperator.NOT_EQUAL, "WF_ABORTED"),
EntityCondition.makeCondition("workEffortTypeId", EntityOperator.EQUALS, "TASK"),
EntityCondition.makeCondition("workEffortPurposeTypeId", EntityOperator.EQUALS, "WEPT_PROJECT")),
EntityOperator.AND);
validWorkEfforts = delegator.findList("WorkEffortAndPartyAssign", ecl, null, UtilMisc.toList("priority"), null, false);
} catch (GenericEntityException e) {
Debug.logWarning(e, module);
}
}
if (validWorkEfforts == null || validWorkEfforts.size() <= 0)