Example #1
0
        /**********************************************************************************************
         * Mehtod   명 : AddWorkflowHierachy
         * 개   발  자 : 양영석
         * 생   성  일 : 2014-02-22
         * 용       도 : 새 WorkflowHierachy 등록
         * Input    값 : AddWorkflowHierachy(Scheme Code)
         * Ouput    값 : SigmaResultType
         **********************************************************************************************/
        /// <summary>
        /// AddWorkflowHierachy: 새 WorkflowHierachy 등록
        /// </summary>
        /// <param name="SchemeCode">Scheme Code</param>
        /// <returns>SigmaResultType</returns>
        public SigmaResultType AddWorkflowHierachy(string SchemeCode)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                WorkflowMgr workflowMgr = new WorkflowMgr();

                // wfp_AddWorkflowSchemeInXml
                result = workflowMgr.AddWorkflowHierachy(SchemeCode);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }