04-12-2012 05:24 PM
ProcessEngine processEngine = ProcessEngineConfiguration
.createStandaloneInMemProcessEngineConfiguration()
.buildProcessEngine();
RuntimeService runtimeService = processEngine.getRuntimeService();
RepositoryService repositoryService = processEngine.getRepositoryService();
repositoryService.createDeployment()
.addClasspathResource("diagrams/AlertingProcess.bpmn")
.deploy();
processEngine.getRuntimeService().startProcessInstanceByKey("alertProcess");
<process id="alertProcess" name="Alert Process">
<startEvent id="startevent1" name="Start"></startEvent>
<userTask id="assignedTask" name="AssignedTask"></userTask>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="assignedTask"></sequenceFlow>
<sequenceFlow id="flow2" name="" sourceRef="assignedTask" targetRef="endevent1"></sequenceFlow>
</process>
04-13-2012 01:45 AM
04-13-2012 07:52 AM
05-12-2016 05:11 AM
05-18-2016 12:18 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.