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 local task variables haven't the same scope of task variables.Am I missing something?