---
url: https://node-ts.github.io/bus/api/bus-core/enumerations/WorkflowStatus.md
---
[API reference](../../index.md) / [@node-ts/bus-core](../index.md) / WorkflowStatus

# Enumeration: WorkflowStatus

Defined in: [packages/bus-core/src/workflow/workflow-state.ts:1](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-core/src/workflow/workflow-state.ts#L1)

## Enumeration Members

### Complete

```ts
Complete: "complete";
```

Defined in: [packages/bus-core/src/workflow/workflow-state.ts:10](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-core/src/workflow/workflow-state.ts#L10)

The workflow has completed and will not receive further messages

***

### Discard

```ts
Discard: "discard";
```

Defined in: [packages/bus-core/src/workflow/workflow-state.ts:15](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-core/src/workflow/workflow-state.ts#L15)

A pseudo status to indicate that changes to the current state should not be persisted

***

### Running

```ts
Running: "running";
```

Defined in: [packages/bus-core/src/workflow/workflow-state.ts:5](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-core/src/workflow/workflow-state.ts#L5)

The workflow is still active and has not yet finished
