final ManageEnrolmentsBean bean = (ManageEnrolmentsBean) object;
final StudentCurricularPlan scp = process.getRegistration().getLastStudentCurricularPlan();
final String mailBody = buildBody(bean);
scp.enrol(bean.getSemester(), Collections.<IDegreeModuleToEvaluate> emptySet(),
getCurriculumModules(bean.getEnrolmentsToValidate()), CurricularRuleLevel.ENROLMENT_WITH_RULES);
AlertService.alertStudent(process, AlertMessage.create(bean.getMailSubject()).isKey(false), AlertMessage.create(mailBody)
.isKey(false));