Add generated task id to dynamicTask object

remotes/1720607823028358574/master
Charitha Goonetilleke 8 months ago
parent b204264d05
commit e0cfa4d719

@ -89,6 +89,7 @@ public class TaskManagementServiceImpl implements TaskManagementService {
// add into the dynamic task tables // add into the dynamic task tables
TaskManagementDAOFactory.beginTransaction(); TaskManagementDAOFactory.beginTransaction();
dynamicTaskId = dynamicTaskDAO.addTask(dynamicTask, tenantId); dynamicTaskId = dynamicTaskDAO.addTask(dynamicTask, tenantId);
dynamicTask.setDynamicTaskId(dynamicTaskId);
dynamicTaskPropDAO.addTaskProperties(dynamicTaskId, dynamicTask.getProperties(), tenantId); dynamicTaskPropDAO.addTaskProperties(dynamicTaskId, dynamicTask.getProperties(), tenantId);
try { try {

Loading…
Cancel
Save