コード例 #1
0
ファイル: Workflow.svc.cs プロジェクト: paraneye/WebService
        /**********************************************************************************************
         * Mehtod   명 : GetWorkflowSchemeCode
         * 개   발  자 : 양영석
         * 생   성  일 : 2014-03-24
         * 용       도 : SchemeCode를 이용하여 해당 Workflow를 조회
         * Input    값 : GetWorkflowSchemeCode(Scheme Code)
         * Ouput    값 : SigmaResultType
         **********************************************************************************************/
        /// <summary>
        /// GetWorkflowSchemeCode : SchemeCode를 이용하여 해당 Workflow를 조회
        /// </summary>
        /// <param name="SchemeCode">SchemeCode</param>
        /// <returns>SigmaResultType</returns>
        public SigmaResultType GetWorkflowSchemeCode(string SchemeCode)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                WorkflowMgr workflowMgr = new WorkflowMgr();

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