# MongoDB The [MongoDB persistence provider](https://docs.workflowengine.io/get-started/concepts/persistence/) 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][provider-source] 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. Table: MongoDB database objects | Object | Type | Purpose | |--------|------|---------| | [WorkflowApprovalHistory](https://docs.workflowengine.io/database-schema/mongodb/workflow-approval-history/) | Collection | Stores approval decisions associated with process instances. | | [WorkflowForm](https://docs.workflowengine.io/database-schema/mongodb/workflow-form/) | Collection | Stores versioned form definitions used by Workflow Engine. | | [WorkflowGlobalParameter](https://docs.workflowengine.io/database-schema/mongodb/workflow-global-parameter/) | Collection | Stores tenant-aware runtime values and other global parameters. | | [WorkflowInbox](https://docs.workflowengine.io/database-schema/mongodb/workflow-inbox/) | Collection | Maps process instances with identities that have pending inbox items. | | [WorkflowProcessInstance](https://docs.workflowengine.io/database-schema/mongodb/workflow-process-instance/) | Collection | Stores the current state and execution metadata for process instances. | | [WorkflowProcessInstancePersistence](https://docs.workflowengine.io/database-schema/mongodb/workflow-process-instance-persistence/) | Collection | Stores persisted parameter values for process instances. | | [WorkflowProcessInstanceStatus](https://docs.workflowengine.io/database-schema/mongodb/workflow-process-instance-status/) | Collection | Stores process execution status, locks, and runtime ownership. | | [WorkflowProcessScheme](https://docs.workflowengine.io/database-schema/mongodb/workflow-process-scheme/) | Collection | Stores compiled process schemes used by running process instances. | | [WorkflowProcessTimer](https://docs.workflowengine.io/database-schema/mongodb/workflow-process-timer/) | Collection | Stores scheduled timer work for process instances. | | [WorkflowProcessTransitionHistory](https://docs.workflowengine.io/database-schema/mongodb/workflow-process-transition-history/) | Collection | Stores the transition history recorded for process instances. | | [WorkflowRuntime](https://docs.workflowengine.io/database-schema/mongodb/workflow-runtime/) | Collection | Stores registered runtime nodes and their coordination state. | | [WorkflowScheme](https://docs.workflowengine.io/database-schema/mongodb/workflow-scheme/) | Collection | Stores editable workflow scheme definitions by code. | | [WorkflowSync](https://docs.workflowengine.io/database-schema/mongodb/workflow-sync/) | 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. [provider-source]: https://github.com/optimajet/WorkflowEngine.NET/tree/master/Providers/OptimaJet.Workflow.MongoDB