Interface IWorkflowsClient
Namespace: IndicoV2-Workflows
Assembly: IndicoV2-Abstractions-dll
public interface IWorkflowsClient
Methods
Mutation to update data in a workflow, presumably after new data is added to the dataset-
Task<IWorkflowAddDataResult> AddDataAsync(int workflowId, CancellationToken cancellationToken)
Parameters
workflowId
int
Workflow id to update
cancellationToken
CancellationToken
for handling cancellation of asynchronous operations-
Returns
Task<IWorkflowAddDataResult>
Gets workflow's status
Task<WorkflowStatus> GetStatusAsync(int workflowId, CancellationToken cancellationToken)
Parameters
workflowId
int
Workflow's id
cancellationToken
CancellationToken
for handling cancellation of asynchronous operations-
Returns
Task<WorkflowStatus>
Status
Lists for a given
Task<IEnumerable<IWorkflow>> ListAsync(int dataSetId, CancellationToken cancellationToken = default)
Parameters
dataSetId
int
's Id>
cancellationToken
CancellationToken
for handling cancellation of asynchronous operations-
Returns
Task[ienumerable](https://learn-microsoft-com/dotnet/api/system-collections-generic-ienumerable\-1)<[iworkflow](indicov2-workflows-models-iworkflow)\>
Lists all for given s
Task<IEnumerable<IWorkflow>> ListAsync(int[] dataSetIds, CancellationToken cancellationToken = default)
Parameters
dataSetIds
int[]
Array of Ids
cancellationToken
CancellationToken
for handling cancellation of asynchronous operations-
Returns
Task[ienumerable](https://learn-microsoft-com/dotnet/api/system-collections-generic-ienumerable\-1)<[iworkflow](indicov2-workflows-models-iworkflow)\>
Updated about 1 year ago