/// <summary> /// Get Workflow Children /// </summary> /// <param name="request">Request</param> /// <returns>GetWorkflowChildrenResponse</returns> public GetWorkflowChildrenResponse GetWorkflowChildren(GetWorkflowChildrenRequest request) { var oids = _workflow.GetWorkflowChildren(Guid.Parse(request.WorkflowOid)); var ids = new List <string>(); foreach (var oid in oids) { ids.Add(oid.ToString()); } return(new GetWorkflowChildrenResponse { Children = ids }); }
private static GetWorkflowChildrenResponse GetChildren(string workflowId) { var getWorkflowChildrenRequest = new GetWorkflowChildrenRequest { WorkflowOid = workflowId }; GetWorkflowChildrenResponse children = null; using (var src = new FlowTasksService()) { children = src.GetWorkflowChildren(getWorkflowChildrenRequest); } return(children); }
/// <summary> /// Get Workflow Children /// </summary> /// <param name="request">Request</param> /// <returns>GetWorkflowChildrenResponse</returns> public GetWorkflowChildrenResponse GetWorkflowChildren(GetWorkflowChildrenRequest request) { return(Channel.GetWorkflowChildren(request)); }