# IOfficeWorkflowRunner

Runs typed local OfficeIMO document workflows for desktop, command-line, and service hosts.

Interface 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeWorkflowContracts.cs:238](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L238)

**Modifiers**

abstract

Runs typed local OfficeIMO document workflows for desktop, command-line, and service hosts.

## 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 [OfficeWorkflowBuilder.RunAsync](/api/workflows/officeimo-workflows-officeworkflowbuilder/#method-runasync-officeimo-workflows-iofficeworkflowrunner-iprogress-officeimo-workflows-officeworkflowprogress-threading-cancellationtoken) parameter `runner`

Filter members 

Show inherited

## Methods

`public abstract Task<OfficeWorkflowResult> RunAsync(OfficeWorkflowRequest request, IProgress<OfficeWorkflowProgress>? progress = null, CancellationToken cancellationToken = default)` [#](#method-runasync-officeimo-workflows-officeworkflowrequest-iprogress-officeimo-workflows-officeworkflowprogress-threading-cancellationtoken)

Runs one workflow request.

Parameters

**request OfficeIMO.Workflows.OfficeWorkflowRequest required**

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

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

Returns

`Task<OfficeWorkflowResult>`

`public abstract Task<IReadOnlyList<OfficeWorkflowResult>> RunBatchAsync(IEnumerable<OfficeWorkflowRequest> requests, IProgress<OfficeWorkflowProgress>? progress = null, CancellationToken cancellationToken = default)` [#](#method-runbatchasync-collections-generic-ienumerable-officeimo-workflows-officeworkflowrequest-iprogress-officeimo-workflows-officeworkflowprogress-threading-cancellationtoken)

Snapshots and runs a bounded batch sequentially. Implementations reject more than [OfficeWorkflowRunner.MaximumBatchRequestCount](/api/workflows/officeimo-workflows-officeworkflowrunner/) requests.

Parameters

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

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

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

Returns

`Task<IReadOnlyList<OfficeWorkflowResult>>`

## Properties

`public virtual IReadOnlyList<OfficeWorkflowRoute> ConversionRoutes { get; }` [#](#property-conversionroutes)

[OfficeWorkflowContracts.cs:238](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L238)

Executable routes of this runner. Implementations with opt-in adapters override this view.

<!-- PowerForge markdown artifact sha256:8BAE1E02ACCFFD16566ACCE38FC7816C1096D7B1F10FF3D4556DF9C76ADE9A2D -->
