List lookupList = null;
try {
lookupList = delegator.findList(org.ofbiz.shark.SharkConstants.WfProcessMgr, null, null, null, null, false);
} catch (GenericEntityException e) {
Debug.logError(e, module);
throw new PersistenceException(e);
}
if (UtilValidate.isNotEmpty(lookupList)) {
Iterator i = lookupList.iterator();
while (i.hasNext()) {
GenericValue v = (GenericValue) i.next();