String oper = getRelativePath();
Map<String, String[]> params = makeKeysLowerCase(getRequestParams());
int[] pageInfo = getPageNumAndPageSize(params, oper);
int maxNumResults = getMaxNumResultsNeeded(pageInfo);
InternalTaskQueryHelper queryHelper = new InternalTaskQueryHelper(this);
JaxbQueryTaskResult result
= queryHelper.queryTaskOrProcInstAndAssociatedVariables(identityProvider.getName(), params, pageInfo, maxNumResults);
queryHelper.dispose();
return createCorrectVariant(result, headers);
}