Interface IWorkflowsClient
Namespace: IndicoV2-Workflows
Assembly: IndicoV2-Abstractions-dll
public interface IWorkflowsClientMethods
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
<code>
<xref href="System-Threading-CancellationToken" data-throw-if-not-resolved="false"></xref>
</code> 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
<code>
<xref href="System-Threading-CancellationToken" data-throw-if-not-resolved="false"></xref>
</code> for handling cancellation of asynchronous operations-
Returns
Task<WorkflowStatus>
Status
Lists
Task<IEnumerable<IWorkflow>> ListAsync(int dataSetId, CancellationToken cancellationToken = default)Parameters
dataSetId int
cancellationToken CancellationToken
<code>
<xref href="System-Threading-CancellationToken" data-throw-if-not-resolved="false"></xref>
</code> 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
Task<IEnumerable<IWorkflow>> ListAsync(int[] dataSetIds, CancellationToken cancellationToken = default)Parameters
dataSetIds int[]
Array of
cancellationToken CancellationToken
<code>
<xref href="System-Threading-CancellationToken" data-throw-if-not-resolved="false"></xref>
</code> 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 6 months ago
