19861987198819891990199119921993199419951996
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueNotEquals("aStringValue", "abd"); verifyQueryResults(query, 1); }
20152016201720182019202020212022202320242025
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueNotEquals("aBooleanValue", false); verifyQueryResults(query, 1); }
20442045204620472048204920502051205220532054
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueNotEquals("aShortValue", (short) 124); verifyQueryResults(query, 1); }
20732074207520762077207820792080208120822083
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueNotEquals("anIntegerValue", 457); verifyQueryResults(query, 1); }
21022103210421052106210721082109211021112112
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueNotEquals("aLongValue", (long) 790); verifyQueryResults(query, 1); }
21352136213721382139214021412142214321442145
.withCaseExecution(humanTaskExecutionId) .manualStart(); Date before = new Date(now.getTime() - 100000); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueNotEquals("aDateValue", before); verifyQueryResults(query, 1); }
21642165216621672168216921702171217221732174
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueNotEquals("aDoubleValue", 1.6); verifyQueryResults(query, 1); }
219521962197219821992200220122022203220422052206
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); try { query.caseInstanceVariableValueNotEquals("aByteArrayValue", bytes).list(); fail(); } catch (ProcessEngineException e) {} }
223022312232223322342235223622372238223922402241
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); try { query.caseInstanceVariableValueNotEquals("aSerializableValue", serializable).list(); fail(); } catch (ProcessEngineException e) {} }
2260226122622263226422652266226722682269227022712272
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); try { query.caseInstanceVariableValueGreaterThan("aNullValue", null).list(); fail(); } catch (ProcessEngineException e) {} }