Delegator delegator = SharkContainer.getDelegator();
List lookupList = null;
try {
lookupList = delegator.findByAnd(org.ofbiz.shark.SharkConstants.WfParticipantMap, UtilMisc.toMap(org.ofbiz.shark.SharkConstants.packageId, packageId, org.ofbiz.shark.SharkConstants.processDefId, processDefId, org.ofbiz.shark.SharkConstants.participantId, participantId));
} catch (GenericEntityException e) {
throw new RootException(e);
}
if (lookupList != null) {
List compiledList = new ArrayList();
Iterator i = lookupList.iterator();
while (i.hasNext()) {