/********************************************************************************************** * Mehtod 명 : AddWorkflowScheme * 개 발 자 : 양영석 * 생 성 일 : 2014-04-02 * 용 도 : WorkflowScheme 관련 테이블에 정보 등록 * Input 값 : AddWorkflowScheme(Scheme Code, Schemem 순번, 코드명, 각단계정보, Process명, 생성자) * Ouput 값 : DataTable **********************************************************************************************/ /// <summary> /// AddWorkflowScheme : WorkflowScheme 관련 테이블에 정보 등록 /// </summary> /// <param name="SchemeCode">Schemem Code</param> /// <param name="SchemeSeq">Schemem 순번</param> /// <param name="CodeText">코드명</param> /// <param name="lstScheme">각단계정보</param> /// <param name="ProcessName">Process명</param> /// <param name="CreatedBy">생성자</param> /// <returns>DataTable</returns> public SigmaResultType AddWorkflowScheme(string SchemeCode, int SchemeSeq, string CodeText, List<TypeWorkflowScheme> lstScheme, string ProcessName, string CreatedBy) { SigmaResultType result = new SigmaResultType(); try { WorkflowMgr workflowMgr = new WorkflowMgr(); // wfp_RemoveWorkflowScheme // wfp_AddWorkflowMap // wfp_AddWorkflowCode // wfp_AddWorkflowRoleHierachy result = workflowMgr.AddWorkflowScheme(SchemeCode, SchemeSeq, CodeText, lstScheme, ProcessName, CreatedBy); return result; } catch (Exception ex) { // Log Exception ExceptionHelper.logException(ex); result.IsSuccessful = false; result.ErrorMessage = ex.Message; return result; } }