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());
ass.setProcessId(process.key());
ass.setProcessName(process.name());
ass.setProcessVersion(manager.version());
ass.setProcessDefId(manager.name());
WorkflowActivity wfActivity = getRunningActivityInfo(sc, activity, false);
ass.setDateCreated(wfActivity.getCreatedTime());