1.创建流程
子流程元素的设置
子流程内部,测试子流程元素的设置
步骤:
1.部署流程
@Test
public void deploy(){
// 1:进行部署
Deployment deploy = repositoryService.createDeployment()
.addClasspathResource("bpmn/testSubprocess.bpmn")
.name("huiqian")
.deploy();
System.out.println("名称:" + deploy.getName());
System.out.println("id:" + deploy.getId());
}
2.启动实例(带参数)