/// <summary> /// 流程终止 /// </summary> /// <param name="flowEngine"></param> public bool Abort(FlowEngine flowEngine, string auditDesc, int userId) { if (this.Audit(flowEngine, AuditType.Passed, auditDesc, userId)) { flowEngine.Abort(); return(true); } return(false); }