11-24-2014 11:17 AM
processEngine = ProcessEngineConfiguration
.createStandaloneInMemProcessEngineConfiguration()
.setDatabaseSchemaUpdate(
ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE)
.setDataSourceJndiName("java:jboss/datasources/ActivitiDS")
.setJobExecutorActivate(true).buildProcessEngine();
repositoryService.createDeployment()
.addClasspathResource("parent.bpmn")
.addClasspathResource("paralel.bpmn").deploy()………..<any other bpmn needed>;
private void init() {
processEngine = ProcessEngineConfiguration
.createStandaloneInMemProcessEngineConfiguration()
.setDatabaseSchemaUpdate(
ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE)
.setDataSourceJndiName("java:jboss/datasources/ActivitiDS")
.setJobExecutorActivate(true).buildProcessEngine();
runtimeService = processEngine.getRuntimeService();
RepositoryService repositoryService = processEngine
.getRepositoryService();
repositoryService.createDeployment()
.addClasspathResource("parent.bpmn")
.addClasspathResource("paralel.bpmn").deploy();
}
runtimeService.startProcessInstanceByKey(processId, request);
11-24-2014 02:15 PM
11-24-2014 02:50 PM
11-24-2014 05:23 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.