429430431432433434435436437438439
.asc(); verifyQueryResults(query, 3); query = repositoryService.createCaseDefinitionQuery(); query .orderByCaseDefinitionKey() .asc(); verifyQueryResults(query, 3); query = repositoryService.createCaseDefinitionQuery();
459460461462463464465466467468469
.desc(); verifyQueryResults(query, 3); query = repositoryService.createCaseDefinitionQuery(); query .orderByCaseDefinitionKey() .desc(); verifyQueryResults(query, 3); query = repositoryService.createCaseDefinitionQuery();
474475476477478479480481482483484
verifyQueryResults(query, 3); query = repositoryService.createCaseDefinitionQuery(); // Typical use case query .orderByCaseDefinitionKey() .asc() .orderByCaseDefinitionVersion() .desc();
23552356235723582359236023612362236323642365
.asc(); verifyQueryResults(query, 11); query = caseService.createCaseExecutionQuery(); query .orderByCaseDefinitionKey() .asc(); verifyQueryResults(query, 11); query = caseService.createCaseExecutionQuery();
23782379238023812382238323842385238623872388
.desc(); verifyQueryResults(query, 11); query = caseService.createCaseExecutionQuery(); query .orderByCaseDefinitionKey() .desc(); verifyQueryResults(query, 11); query = caseService.createCaseExecutionQuery();
13131314131513161317131813191320132113221323
.asc(); verifyQueryResults(query, 5); query = caseService.createCaseInstanceQuery(); query .orderByCaseDefinitionKey() .asc(); verifyQueryResults(query, 5); query = caseService.createCaseInstanceQuery();
13361337133813391340134113421343134413451346
.desc(); verifyQueryResults(query, 5); query = caseService.createCaseInstanceQuery(); query .orderByCaseDefinitionKey() .desc(); verifyQueryResults(query, 5); query = caseService.createCaseInstanceQuery();