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