*/
public void complete(String workEffortId, String partyId, String roleTypeId, Timestamp fromDate, Map<String, Object> result) throws WfException {
WfAssignment assign = WfFactory.getWfAssignment(delegator, workEffortId, partyId, roleTypeId, fromDate);
if (UtilValidate.isNotEmpty(result))
assign.setResult(result);
assign.complete();
}
/**
* Suspend an activity
* @param workEffortId The WorkEffort entity key for the activity object