public CreateProcess ( |
||
entity | ||
Résultat | void |
public ResponseResult CreateProcess(ProcessEntity entity) { var result = ResponseResult.Default(); try { var wfService = new WorkflowService(); wfService.CreateProcess(entity); result = ResponseResult.Success(); } catch (System.Exception ex) { result = ResponseResult.Error(string.Format("创建流程记录失败,错误:{0}", ex.Message)); } return result; }