MongoDB
The Workflow Engine MongoDB schema contains 13 persistence collections. Each collection has a separate reference page that explains its role and lists its database indexes. MongoDB does not enforce a fixed field list for these documents. The provider supports MongoDB 5.0 or later.
The MongoDB persistence provider uses 13 collections to store Workflow Engine process definitions, runtime state, timers, history, and provider data. Open a collection page below to review its purpose and database indexes.
Supported database version
The Workflow Engine MongoDB persistence provider supports MongoDB 5.0 or later. The provider source on GitHub contains the implementation for the objects listed on this page.
Database objects
The MongoDB schema contains the following 13 collections. Each collection links to a separate page with its purpose and database indexes.
| Object | Type | Purpose |
|---|---|---|
| WorkflowApprovalHistory | Collection | Stores approval decisions associated with process instances. |
| WorkflowForm | Collection | Stores versioned form definitions used by Workflow Engine. |
| WorkflowGlobalParameter | Collection | Stores tenant-aware runtime values and other global parameters. |
| WorkflowInbox | Collection | Maps process instances with identities that have pending inbox items. |
| WorkflowProcessInstance | Collection | Stores the current state and execution metadata for process instances. |
| WorkflowProcessInstancePersistence | Collection | Stores persisted parameter values for process instances. |
| WorkflowProcessInstanceStatus | Collection | Stores process execution status, locks, and runtime ownership. |
| WorkflowProcessScheme | Collection | Stores compiled process schemes used by running process instances. |
| WorkflowProcessTimer | Collection | Stores scheduled timer work for process instances. |
| WorkflowProcessTransitionHistory | Collection | Stores the transition history recorded for process instances. |
| WorkflowRuntime | Collection | Stores registered runtime nodes and their coordination state. |
| WorkflowScheme | Collection | Stores editable workflow scheme definitions by code. |
| WorkflowSync | Collection | Stores coordination locks used by Workflow Engine runtime services. |
Frequently asked questions
What is the minimum supported MongoDB version?
The Workflow Engine MongoDB persistence provider supports MongoDB 5.0 or later.
How many collections are in the Workflow Engine MongoDB schema?
The MongoDB schema contains 13 collections. The Database objects section links to a separate reference page for each collection.
Why can the MongoDB schema differ from another provider?
The MongoDB provider uses collections, flexible documents, and database-specific index definitions while implementing the same Workflow Engine persistence contracts.