/********************************************************************************************** * Mehtod 명 : UpdateWorkflowCrew * 개 발 자 : 양영석 * 생 성 일 : 2014-03-07 * 용 도 : DocumentTransition 관련 테이블의 담당자 정보를 수정한다. * Input 값 : UpdateWorkflowCrew(Workflow Type 코드, TransitionStatus순번, 작성한 Process Guid, 각단계별승인자정보, 각패키지별ID) * Ouput 값 : SigmaResultType **********************************************************************************************/ /// <summary> /// UpdateWorkflowCrew : DocumentTransition 관련 테이블의 담당자 정보를 수정한다. /// </summary> /// <param name="WorkflowTypeCode">Workflow Type 코드</param> /// <param name="TransitionStatusSeq">TransitionStatus순번</param> /// <param name="WorkFlowId">Process GuiD</param> /// <param name="TransitionLst">각단계별승인자정보</param> /// <param name="TargetId">각패키지별ID</param> /// <returns></returns> public SigmaResultType UpdateWorkflowCrew(string WorkflowTypeCode, int TransitionStatusSeq, Guid WorkFlowId, List<TypeTransition> TransitionLst, int TargetId) { SigmaResultType result = new SigmaResultType(); try { WorkflowMgr workflowMgr = new WorkflowMgr(); // wfp_GetWorkflowMapInfo // wfp_GetTransitionStatusSeq // wfp_RemoveWorkflowTransitionHistory // wfp_AddWorkflowTransitionHistory // wfp_ModifyWorkflowController result = workflowMgr.UpdateWorkflowCrew(WorkflowTypeCode, TransitionStatusSeq, WorkFlowId, TransitionLst, TargetId); return result; } catch (Exception ex) { // Log Exception ExceptionHelper.logException(ex); result.IsSuccessful = false; result.ErrorMessage = ex.Message; return result; } }