This content has been marked as final.
Show 3 replies
-
1. Re: jbpm4.4 timer trigerring problem
mwohlf Oct 30, 2010 9:33 AM (in response to parvathy)I think the job executor is not booted automatically if you extend JbpmTestCase for implementing your tests,
you might want to manually run the jobs:
List<Job> job = managementService.createJobQuery()
.processInstanceId(processInstance.getId())
.list();managementService.executeJob(job.get(0).getId())
-
2. Re: jbpm4.4 timer trigerring problem
parvathy Oct 31, 2010 2:01 AM (in response to mwohlf)But i dont want to do manually..i want the job executor to do the job..if it is not possible in test case..could you tell me a solution to test this...i mean in which environment can i test if its working automatically..
-
3. Re: jbpm4.4 timer trigerring problem
mwohlf Oct 31, 2010 7:26 AM (in response to parvathy)the JobExecutor has start() stop() and isActive() methods, so it should be possible to get it running in whatever testframework you are using