if (Boolean.TRUE.equals(request.getWithoutTenantId())) {
taskQuery.taskWithoutTenantId();
}
if (request.getCandidateOrAssigned() != null) {
taskQuery.taskCandidateOrAssigned(request.getCandidateOrAssigned());
}
return new TaskPaginateList(restResponseFactory, serverRootUrl).paginateList(
requestParams, request, taskQuery, "id", properties);
}