// After process start, there should be timer created
JobQuery jobQuery = managementService.createJobQuery();
assertEquals(1, jobQuery.count());
// ensure that the deployment Id is set on the new job
Job job = jobQuery.singleResult();
assertNotNull(job.getDeploymentId());
final ProcessInstanceQuery piq = runtimeService.createProcessInstanceQuery().processDefinitionKey("startTimerEventExampleCycle");
assertEquals(0, piq.count());