# OfficeWorkflowFailureKind

Stable category describing why a workflow did not complete.

Enum 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Stable category describing why a workflow did not complete.

## Inheritance

- Enum
- OfficeWorkflowFailureKind

## Usage

Explore 10 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.

### Returned or exposed by 10

- Property [OfficeProvenanceWorkflowResult.FailureKind](/api/workflows/officeimo-workflows-officeprovenanceworkflowresult/#property-failurekind)
- Field [OfficeWorkflowFailureKind.InputNotFound](/api/workflows/officeimo-workflows-officeworkflowfailurekind/#field-inputnotfound)
- Field [OfficeWorkflowFailureKind.None](/api/workflows/officeimo-workflows-officeworkflowfailurekind/#field-none)
- Field [OfficeWorkflowFailureKind.OperationFailed](/api/workflows/officeimo-workflows-officeworkflowfailurekind/#field-operationfailed)
- Field [OfficeWorkflowFailureKind.OutputFailed](/api/workflows/officeimo-workflows-officeworkflowfailurekind/#field-outputfailed)
- Field [OfficeWorkflowFailureKind.UnsupportedInput](/api/workflows/officeimo-workflows-officeworkflowfailurekind/#field-unsupportedinput)
- Field [OfficeWorkflowFailureKind.ValidationFailed](/api/workflows/officeimo-workflows-officeworkflowfailurekind/#field-validationfailed)
- Property [OfficeWorkflowResult.FailureKind](/api/workflows/officeimo-workflows-officeworkflowresult/#property-failurekind)
- Property [PdfAssemblyResult.FailureKind](/api/workflows/officeimo-workflows-pdfassemblyresult/#property-failurekind)
- Property [PdfPageImageExportResult.FailureKind](/api/workflows/officeimo-workflows-pdfpageimageexportresult/#property-failurekind)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OfficeWorkflowFailureKind None` [#](#field-none)

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

The workflow completed or was cancelled without a failure.

Value: `0`

`public const OfficeWorkflowFailureKind ValidationFailed` [#](#field-validationfailed)

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

The request or one of its options was invalid.

Value: `1`

`public const OfficeWorkflowFailureKind InputNotFound` [#](#field-inputnotfound)

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

A requested input could not be found.

Value: `2`

`public const OfficeWorkflowFailureKind UnsupportedInput` [#](#field-unsupportedinput)

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

The input exists but is unsupported or structurally invalid.

Value: `3`

`public const OfficeWorkflowFailureKind OutputFailed` [#](#field-outputfailed)

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

The requested output could not be staged or published.

Value: `4`

`public const OfficeWorkflowFailureKind OperationFailed` [#](#field-operationfailed)

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

The workflow failed for another execution reason.

Value: `5`

<!-- PowerForge markdown artifact sha256:6BE33EE3BBC9B22E20B40F9FEE87F36DA9B7766094E2576A42A0EE058811771E -->
