public commonResult CancelProcess(OAMessageVM p) { if (p == null || string.IsNullOrWhiteSpace(p.syscode) || string.IsNullOrWhiteSpace(p.flowid)) { return(commonResult.NullParameter()); } string res = OAMessageBuilder.CancelProcess(p.syscode, p.flowid); return(commonResult.Success(res)); }
public void TestCancelProcess() { string flowid = "d87a7991-843e-4c70-abdc-007a435b32ef"; string flowtitle = "测试发送待办2"; string workflowname = "收集任务填报"; string nodename1 = "填报"; string nodename2 = "审批"; var url = "/Application/Task/TaskList.aspx"; string creator = "chengeng"; string receiver1 = "wangxin"; string receiver2 = "yangxiaogang"; OAMessageBuilder.CancelProcess(flowid); }