@@ -56,6 +57,11 @@ public class SetProcessInstanceBusinessKeyCmd implements Command<Void>, Serializ
thrownewActivitiIllegalArgumentException("A process instance id is required, but the provided id "+"'"+processInstanceId+"' "+"points to a child execution of process instance "+"'"
+processInstance.getProcessInstanceId()+"'. "+"Please invoke the "+getClass().getSimpleName()+" with a root execution id.");
// Re-running the query should give only 3 jobs now, since one job has retries=0
verifyQueryResults(query,3);
verifyQueryResults(query,2);
}
publicvoidtestQueryByExecutable(){
processEngineConfiguration.getClock().setCurrentTime(newDate(timerThreeFireTime.getTime()+ONE_SECOND));// all jobs should be executable at t3 + 1hour.1second