/********************************************************************************************** * Mehtod 명 : GetPendingWorkflow * 개 발 자 : 양영석 * 생 성 일 : 2014-03-06 * 용 도 : 대기중인 Workflow 조회한다. * Input 값 : GetPendingWorkflow(워크플로워타입, 각타입별ID) * Ouput 값 : SigmaResultType **********************************************************************************************/ /// <summary> /// GetPendingWorkflow : 대기중인 Workflow 조회한다. /// </summary> /// <param name="WorkflowTypeCode">워크플로워타입</param> /// <param name="TargetId">각타입별ID</param> /// <returns>SigmaResultType</returns> public SigmaResultType GetPendingWorkflow(string WorkflowTypeCode, string TargetId) { SigmaResultType result = new SigmaResultType(); try { WorkflowMgr workflowMgr = new WorkflowMgr(); // wfp_GetSigmaUserCommand result = workflowMgr.GetPendingWorkflow(WorkflowTypeCode, Int32.Parse(TargetId)); return result; } catch (Exception ex) { // Log Exception ExceptionHelper.logException(ex); result.IsSuccessful = false; result.ErrorMessage = ex.Message; return result; } }