constraints.add(EntityCondition.makeCondition("currentStatusId", EntityOperator.NOT_EQUAL, "WF_TERMINATED"));
constraints.add(EntityCondition.makeCondition("currentStatusId", EntityOperator.NOT_EQUAL, "WF_ABORTED"));
EntityConditionList<EntityExpr> ecl = EntityCondition.makeCondition(constraints);
groupWorkEfforts = EntityUtil.filterByDate(
delegator.findList("WorkEffortPartyAssignByGroup", ecl, null, UtilMisc.toList("priority"), null, false)
);
} catch (GenericEntityException e) {
Debug.logWarning(e, module);
return ServiceUtil.returnError(UtilProperties.getMessage(resourceError,
"WorkEffortNotFound", UtilMisc.toMap("errorString", e.toString()), locale));