|
@@ -306,7 +306,7 @@ public class ApiController {
|
|
|
File file = new File(filePath);
|
|
|
System.out.println("源文件是否存在:" + file.exists());
|
|
|
//流程id
|
|
|
- String flowKey = UUID.randomUUID().toString();
|
|
|
+ String flowKey = UUID.randomUUID().toString().replaceAll("-", "");
|
|
|
System.out.println("流程的key:" + flowKey);
|
|
|
ProcessDefinition processDefinition;
|
|
|
processDefinition = repositoryService.createProcessDefinitionQuery().processDefinitionKey(flowKey).singleResult();
|