|
|
@@ -1329,9 +1329,7 @@ public class WorkflowExecuteServiceImpl implements IWorkflowExecuteService {
|
|
|
executeWorkflowUpdateDto.setFormData(thisFormData);
|
|
|
variableMap.putValue(formConfig.getKey(), thisFormData);
|
|
|
|
|
|
- System.out.println("newLaunch start 0");
|
|
|
Triple<Session, Boolean, Long> sessionLongLongTriple = formExecuteService.workflowAddOrUpdate(executeWorkflowUpdateDto);
|
|
|
- System.out.println("newLaunch start 1");
|
|
|
|
|
|
WorkflowFormRelation formRelation = new WorkflowFormRelation();
|
|
|
formRelation.setFormId(formConfig.getFormId());
|
|
|
@@ -3902,11 +3900,10 @@ public class WorkflowExecuteServiceImpl implements IWorkflowExecuteService {
|
|
|
|
|
|
thisFormData.ifPresent(data -> {
|
|
|
Map<String, Object> formData = Convert.toMap(String.class, Object.class, data.getValue());
|
|
|
+ formData.remove("id");
|
|
|
WorkflowDraft draft = new WorkflowDraft();
|
|
|
draft.setSchemaId(workflowSchema.getId());
|
|
|
- draft.setDataId(formData.get("id").toString());
|
|
|
draft.setFormData(JSONUtil.toJsonStr(formData));
|
|
|
- draft.setTaskId(workflowExtra.getTaskId());
|
|
|
workflowDraftService.save(draft);
|
|
|
});
|
|
|
}
|