GetTaskService getTaskService = new GetTaskService();
params.put(ParamsConst.TRANSACTION_CONTROL, Boolean.FALSE);
Transaction transaction = getTaskService.getSession().beginTransaction();
try {
Map result = getTaskService.execute(params);
Tarea tarea = (Tarea) result.get(ParamsConst.ENTITY);
HttpServletRequest request = (HttpServletRequest) params.get(ParamsConst.REQUEST);
User user = (User) request.getSession().getAttribute(ParamsConst.USER);
String comment = (String) params.get(ParamsConst.COMMENT);