null taskId for task variables
I see that saving a task with this service taskService.complete(task.getId(),vars);ortaskService.setVariables(task.getId(), vars);will not save taskId in TASK_ID_ column.Only taskService.setVariablesLocal(task.getId(), vars);will do the trick but ...