WfResource assignee = wfa.assignee();
WfProcess process = activity.container();
WfProcessMgr manager = process.manager();
ass = new WorkflowAssignment();
ass.setAccepted(wfa.get_accepted_status());
ass.setActivityId(activity.key());
ass.setActivityName(activity.name());
ass.setAssigneeId(assignee.resource_key());
ass.setAssigneeName(assignee.resource_name());
ass.setDescription(activity.description());
ass.setPriority(new Short(activity.priority()).toString());