Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"Timer trigger in Junit test" To view the discussion, visit: http://community.jboss.org/message/534601#534601 -------------------------------------------------------------- In unit test, you can use managementService to execute Job/Timer. ManagementService managementService = processEngine.getManagementService(); Job job = managementService.createJobQuery().timers().processInstanceId(piId).uniqueResult(); managementService.execute(job.getId()); -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/534601#534601] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
