# Workflow Inbox The `WorkflowInbox` table is part of the [PostgreSQL database schema](https://docs.workflowengine.io/database-schema/postgresql/) 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 PostgreSQL. Table: WorkflowInbox columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Id` | `uuid` | No | Yes | - | | 2 | `ProcessId` | `uuid` | No | No | - | | 3 | `IdentityId` | `character varying(256)` | No | No | - | | 4 | `AddingDate` | `timestamp without time zone` | No | No | `LOCALTIMESTAMP` | | 5 | `AvailableCommands` | `character varying(1024)` | No | No | `''::character varying` | | 6 | `TenantId` | `character varying(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 | |-------|--------|------------| | `WorkflowInbox_IdentityId_idx` | No | `CREATE INDEX "WorkflowInbox_IdentityId_idx" ON public."WorkflowInbox" USING btree ("IdentityId")` | | `WorkflowInbox_ProcessId_IdentityId_idx` | Yes | `CREATE UNIQUE INDEX "WorkflowInbox_ProcessId_IdentityId_idx" ON public."WorkflowInbox" USING btree ("ProcessId", "IdentityId")` | | `WorkflowInbox_ProcessId_idx` | No | `CREATE INDEX "WorkflowInbox_ProcessId_idx" ON public."WorkflowInbox" USING btree ("ProcessId")` | | `WorkflowInbox_pkey` | Yes | `CREATE UNIQUE INDEX "WorkflowInbox_pkey" ON public."WorkflowInbox" USING btree ("Id")` |