# Workflow Inbox The `WorkflowInbox` table is part of the [SQL Server database schema](https://docs.workflowengine.io/database-schema/sql-server/) 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 SQL Server. Table: WorkflowInbox columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Id` | `uniqueidentifier` | No | Yes | - | | 2 | `ProcessId` | `uniqueidentifier` | No | No | - | | 3 | `IdentityId` | `nvarchar(256)` | No | No | - | | 4 | `AddingDate` | `datetime` | No | No | `(getdate())` | | 5 | `AvailableCommands` | `nvarchar(max)` | No | No | `('')` | | 6 | `TenantId` | `nvarchar(128)` | 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 | |-------|--------|------------| | `IX_IdentityId_Clustered` | No | `[IdentityId]` | | `IX_ProcessId` | No | `[ProcessId]` | | `IX_ProcessId_IdentityId` | Yes | `[ProcessId], [IdentityId]` | | `PK_WorkflowInbox` | Yes | `[Id]` |