Map<String, String[]> params = makeKeysLowerCase(getRequestParams());
int[] pageInfo = getPageNumAndPageSize(params, oper);
int maxNumResults = getMaxNumResultsNeeded(pageInfo);
String identityNotNeeded = null;
InternalProcInstQueryHelper queryHelper = new InternalProcInstQueryHelper(this);
JaxbQueryProcessInstanceResult result
= queryHelper.queryTaskOrProcInstAndAssociatedVariables(identityNotNeeded, params, pageInfo, maxNumResults);
queryHelper.dispose();
return createCorrectVariant(result, headers);
}