public DeleteProcess ( string processGUID, string version ) : void | ||
processGUID | string | |
version | string | |
return | void |
public ResponseResult DeleteProcess(ProcessEntity entity) { var result = ResponseResult.Default(); try { var wfService = new WorkflowService(); wfService.DeleteProcess(entity.ProcessGUID, entity.Version); result = ResponseResult.Success(); } catch (System.Exception ex) { result = ResponseResult.Error(string.Format("删除流程记录失败,错误:{0}", ex.Message)); } return result; }