|
@@ -93,7 +93,7 @@ public class FlowProcessServiceImpl implements FlowProcessService {
|
|
|
}
|
|
|
|
|
|
|
|
|
- long flowId = IdWorker.getId();
|
|
|
+ final long flowId = IdWorker.getId();
|
|
|
|
|
|
|
|
|
Map<String, Object> templateMap = flowDelegate.initTemplateMap(dto.getData(), dto.getData());
|
|
@@ -167,6 +167,7 @@ public class FlowProcessServiceImpl implements FlowProcessService {
|
|
|
flowExampleDetailList.add(endExampleDetail);
|
|
|
}
|
|
|
|
|
|
+ flowExample.setId(flowId);
|
|
|
flowExample.setTitle(templateParse(flowDefinition.getTitleTemplate(), templateMap));
|
|
|
flowExample.setFlowKey(dto.getFlowKey());
|
|
|
flowExample.setDefinitionId(flowDefinition.getId());
|