コード例 #1
0
        public async Task GetDiagramTest()
        {
            var tasks = await workflowService.GetInboxTasks(vm);

            if (tasks.Data.Length == 0)
            {
                await this.SendToWorkflowTest();
            }

            tasks = await workflowService.GetInboxTasks(vm);

            var dr = new DiagramRequest();

            dr.processInstanceId = dr.processInstanceId = tasks.Data[0].ProcessInstanceId;

            var resp = await workflowService.GetDiagram(dr);


            // return await Task.FromResult(1);
        }