Hi, could you provide some more details about the query/tasks call you do ?
(maybe a simple unit test which will show the behaviour.)
Considering the code in TaskQueryImpl
<code>
public List<Task> executeList(CommandContext commandContext, Page page) {
ensureVariablesInitialized();
checkQueryOk();
List<Task> tasks = null;
if (includeTaskLocalVariables || includeProcessVariables) {
tasks = commandContext
.getTaskEntityManager()
.findTasksAndVariablesByQueryCriteria(this);
} else {
tasks = commandContext
.getTaskEntityManager()
.findTasksByQueryCriteria(this);
}
if (tasks != null) {
for (Task task : tasks) {
localize(task);
}
}
return tasks;
}
</code>
you should provide the at least one of these 2 attributes with "true" value in the request. (which by default are false)
<code>
private Boolean includeTaskLocalVariables;
private Boolean includeProcessVariables;
</code>
see: TaskQueryResource.java
<code>
@RequestMapping(value="/query/tasks", method = RequestMethod.POST, produces="application/json")
public DataResponse getQueryResult(@RequestBody TaskQueryRequest request,
@RequestParam Map<String, String> requestParams, HttpServletRequest httpRequest) {
return getTasksFromQueryRequest(request, requestParams);
}
</code>