private String filename = "/Users/henryyan/work/projects/activiti/activiti-study/src/test/resources/diagrams/TimeBoundaryEvent.bpmn";
public void startProcessWithJob() throws Exception {
ProcessEngineConfiguration createStandaloneInMemProcessEngineConfiguration = StandaloneInMemProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration();
createStandaloneInMemProcessEngineConfiguration.setJobExecutorActivate(true);
ProcessEngine processEngine = createStandaloneInMemProcessEngineConfiguration.buildProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
repositoryService.createDeployment().addInputStream("TimeBoundaryEvent.bpmn20.xml",
new FileInputStream(filename)).deploy();
RuntimeService runtimeService = processEngine.getRuntimeService();
Map<String, Object> variableMap = new HashMap<String, Object>();