.create(new Date(),new Date(), null));
subcontractedTaskData.setExternalCompany(getSubcontractorExternalCompanySaved());
task.setSubcontractedTaskData(subcontractedTaskData);
taskElementDAO.save(task);
task.dontPoseAsTransientObjectAnymore();
taskElementDAO.flush();
subcontractedTaskDataDAO.save(subcontractedTaskData);
return subcontractedTaskData;
}