# IOfficeProvenanceWorkflowRunner

Runs reusable cross-format provenance workflows.

Interface 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeProvenanceWorkflowContracts.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeProvenanceWorkflowContracts.cs#L75)

**Modifiers**

abstract

Runs reusable cross-format provenance workflows.

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [OfficeProvenanceAudit.RunAsync](/api/workflows/officeimo-workflows-officeprovenanceaudit/#method-runasync-officeimo-workflows-officeprovenanceauditrequest-officeimo-workflows-iofficeprovenanceworkflowrunner-threading-cancellationtoken) parameter `runner`

Filter members 

Show inherited

## Methods

`public abstract Task<OfficeProvenanceWorkflowResult> RunProvenanceAsync(OfficeProvenanceWorkflowRequest request, IProgress<OfficeWorkflowProgress>? progress = null, CancellationToken cancellationToken = default)` [#](#method-runprovenanceasync-officeimo-workflows-officeprovenanceworkflowrequest-iprogress-officeimo-workflows-officeworkflowprogress-threading-cancellationtoken)

Runs one provenance request.

Parameters

**request OfficeIMO.Workflows.OfficeProvenanceWorkflowRequest required**

**progress System.IProgress<OfficeIMO.Workflows.OfficeWorkflowProgress>? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeProvenanceWorkflowResult>`

`public abstract Task<IReadOnlyList<OfficeProvenanceWorkflowResult>> RunProvenanceBatchAsync(IEnumerable<OfficeProvenanceWorkflowRequest> requests, OfficeProvenanceWorkflowBatchOptions? options = null, IProgress<OfficeWorkflowProgress>? progress = null, CancellationToken cancellationToken = default)` [#](#member-4216de985842d89a9d653e78)

Runs a bounded provenance batch sequentially.

Parameters

**requests System.Collections.Generic.IEnumerable<OfficeIMO.Workflows.OfficeProvenanceWorkflowRequest> required**

**options OfficeIMO.Workflows.OfficeProvenanceWorkflowBatchOptions? = null optional**

**progress System.IProgress<OfficeIMO.Workflows.OfficeWorkflowProgress>? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<IReadOnlyList<OfficeProvenanceWorkflowResult>>`

<!-- PowerForge markdown artifact sha256:0350495317428488108D15B32EE9E7FCC5AAB4AD4FDD24C12971359D309FD1E6 -->
