Skip to Content
Evaluate Get Started Plugins Glossary

MongoDB

Key takeaways

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.

MongoDB database objects
ObjectTypePurpose
WorkflowApprovalHistoryCollectionStores approval decisions associated with process instances.
WorkflowFormCollectionStores versioned form definitions used by Workflow Engine.
WorkflowGlobalParameterCollectionStores tenant-aware runtime values and other global parameters.
WorkflowInboxCollectionMaps process instances with identities that have pending inbox items.
WorkflowProcessInstanceCollectionStores the current state and execution metadata for process instances.
WorkflowProcessInstancePersistenceCollectionStores persisted parameter values for process instances.
WorkflowProcessInstanceStatusCollectionStores process execution status, locks, and runtime ownership.
WorkflowProcessSchemeCollectionStores compiled process schemes used by running process instances.
WorkflowProcessTimerCollectionStores scheduled timer work for process instances.
WorkflowProcessTransitionHistoryCollectionStores the transition history recorded for process instances.
WorkflowRuntimeCollectionStores registered runtime nodes and their coordination state.
WorkflowSchemeCollectionStores editable workflow scheme definitions by code.
WorkflowSyncCollectionStores 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.