# Workflow Inbox The `WorkflowInbox` table is part of the [SQLite database schema](https://docs.workflowengine.io/database-schema/sqlite/) used by Workflow Engine. The `WorkflowInbox` table maps process instances with identities that have pending inbox items. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes. ## Table columns The `WorkflowInbox` table contains 6 columns in database order. Data types and default expressions use the syntax defined by SQLite. Table: WorkflowInbox columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Id` | `TEXT` | No | Yes | - | | 2 | `ProcessId` | `TEXT` | No | No | - | | 3 | `IdentityId` | `TEXT` | No | No | - | | 4 | `AddingDate` | `INTEGER` | No | No | `(CAST(strftime('%s', 'now') AS INTEGER) * 10000000) + 621355968000000000` | | 5 | `AvailableCommands` | `TEXT` | No | No | `''` | | 6 | `TenantId` | `TEXT` | Yes | No | - | ## Database indexes The `WorkflowInbox` table defines 4 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WorkflowInbox indexes | Index | Unique | Definition | |-------|--------|------------| | `WorkflowInbox_IdentityId_idx` | No | `CREATE INDEX "WorkflowInbox_IdentityId_idx" ON "WorkflowInbox" ("IdentityId")` | | `WorkflowInbox_ProcessId_IdentityId_idx` | Yes | `CREATE UNIQUE INDEX "WorkflowInbox_ProcessId_IdentityId_idx" ON "WorkflowInbox" ("ProcessId", "IdentityId")` | | `WorkflowInbox_ProcessId_idx` | No | `CREATE INDEX "WorkflowInbox_ProcessId_idx" ON "WorkflowInbox" ("ProcessId")` | | `sqlite_autoindex_WorkflowInbox_1` | Yes | `Id` |