示例代码:
1 ProcessEngine processEngine = Configuration.getProcessEngine();2 RepositoryService repositoryService = processEngine.getRepositoryService();3 repositoryService.createDeployment().addResourceFromClasspath("test.jpdl.xml").deploy();
2、获取流程部署仓库服务Service
3、创建流程部署