03-28-2014 08:25 AM
@Deployment(resources = { "process/test.bpmn" })
@Deployment(resources = { "process/test.bpmn", "process/test.bpmn", "process/test.bpmn", "process/test.bpmn" })
@Deployment(resources = { "process/test.bpmn", "process/test-2.bpmn", "process/test-3.bpmn", "process/test-4.bpmn" })
org.activiti.engine.ActivitiException: The deployment contains process definitions with the same key (process id atrribute), this is not allowed
InputStream is = this.getClass().getResource("/process/test.bpmn"));
activitiRule.getRepositoryService().createDeployment().name("test").addInputStream("test", is).deploy();
activitiRule.getRepositoryService().createDeployment().name("test").addInputStream("test", is).deploy();
activitiRule.getRepositoryService().createDeployment().name("test").addInputStream("test", is).deploy();
activitiRule.getRepositoryService().createDeployment().name("test").addInputStream("test", is).deploy();
03-31-2014 02:59 AM
String deploymentId = repositoryService
.createDeployment()
.addClasspathResource("org/activiti/engine/test/bpmn/event/message/MessageStartEventTest.testSingleMessageStartEvent.bpmn20.xml")
.deploy()
.getId();
2x03-31-2014 07:38 AM
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.