}
}
protected Form submitAssignmentForm(FormData formData, WorkflowAssignment assignment, PackageActivityForm activityForm) {
Form nextForm = null;
ApplicationContext ac = AppUtil.getApplicationContext();
AppService appService = (AppService) ac.getBean("appService");
FormService formService = (FormService) ac.getBean("formService");
WorkflowManager workflowManager = (WorkflowManager) ac.getBean("workflowManager");
String activityId = assignment.getActivityId();
String processId = assignment.getProcessId();
// get form
Form currentForm = activityForm.getForm();
// submit form
formData = formService.executeFormActions(currentForm, formData);
setProperty("submitted", Boolean.TRUE);