版权声明: https://blog.csdn.net/yz18931904/article/details/88420766
/**
* 发布流程
* @param pName :流程名称
* @param fileName :resource下流程文件名[xxx.bpmn]
* @return
*/
public static void deployProcess(String pName, String fileName){
RepositoryService repositoryService = processEngine.getRepositoryService();
DeploymentBuilder builder = repositoryService.createDeployment();
builder.name(pName);
builder.addClasspathResource(fileName);
Deployment deployment = builder.deploy();
}
act_ge_bytearray
act_re_deployment
两张表里面会有内容