Пример #1
0
    public string HelloWorld()
    {
        var workfowService = new WorkflowServiceWebReference.WorkflowService();
        var request        = workfowService.getWorkflowRequest(261887, 383, 0);

        return(request.requestName);
    }
Пример #2
0
    public WorkflowServiceWebReference.WorkflowRequestInfo GetWorkflowRequest(int requestId, int userId)
    {
        var workfowService = new WorkflowServiceWebReference.WorkflowService();
        var request        = workfowService.getWorkflowRequest(261887, 383, 0);

        return(request);
    }
Пример #3
0
 static void Main(string[] args)
 {
     _workflowService = new WorkflowServiceWebReference.WorkflowService();
     while (true)
     {
         ValidateRequisitions();
         Thread.Sleep(1000 * 60);
     }
 }