# Workflow Process Instance The `WorkflowProcessInstance` collection is part of the [MongoDB database schema](https://docs.workflowengine.io/database-schema/mongodb/) used by Workflow Engine. The `WorkflowProcessInstance` collection stores the current state and execution metadata for process instances. This page lists the collection indexes and explains the field model used by MongoDB for this persistence object. ## Document fields The `WorkflowProcessInstance` collection does not define a fixed field list at the MongoDB database level. Workflow Engine documents in this collection can therefore evolve without a relational column definition. ## Database indexes The `WorkflowProcessInstance` collection defines 2 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WorkflowProcessInstance indexes | Index | Unique | Definition | |-------|--------|------------| | `RootProcessId_1` | No | `RootProcessId 1` | | `_id_` | Yes | `_id 1` |