16851686168716881689169016911692169316941695
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("aNullValue", null); verifyQueryResults(query, 1); }
17141715171617171718171917201721172217231724
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("aStringValue", "abc"); verifyQueryResults(query, 1); }
17431744174517461747174817491750175117521753
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("aBooleanValue", true); verifyQueryResults(query, 1); }
17721773177417751776177717781779178017811782
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("aShortValue", (short) 123); verifyQueryResults(query, 1); }
18011802180318041805180618071808180918101811
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("anIntegerValue", 456); verifyQueryResults(query, 1); }
18301831183218331834183518361837183818391840
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("aLongValue", (long) 789); verifyQueryResults(query, 1); }
18611862186318641865186618671868186918701871
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("aDateValue", now); verifyQueryResults(query, 1); }
18901891189218931894189518961897189818991900
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); query.caseInstanceVariableValueEquals("aDoubleValue", 1.5); verifyQueryResults(query, 1); }
192119221923192419251926192719281929193019311932
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); try { query.caseInstanceVariableValueEquals("aByteArrayValue", bytes).list(); fail(); } catch (ProcessEngineException e) {} }
195619571958195919601961196219631964196519661967
caseService .withCaseExecution(humanTaskExecutionId) .manualStart(); TaskQuery query = taskService.createTaskQuery(); try { query.caseInstanceVariableValueEquals("aSerializableValue", serializable).list(); fail(); } catch (ProcessEngineException e) {} }