# Workflow Process Transition History The `WorkflowProcessTransitionHistory` table is part of the [SQL Server database schema](https://docs.workflowengine.io/database-schema/sql-server/) used by Workflow Engine. The `WorkflowProcessTransitionHistory` table stores the transition history recorded for process instances. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes. ## Table columns The `WorkflowProcessTransitionHistory` table contains 17 columns in database order. Data types and default expressions use the syntax defined by SQL Server. Table: WorkflowProcessTransitionHistory columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Id` | `uniqueidentifier` | No | Yes | - | | 2 | `ProcessId` | `uniqueidentifier` | No | No | - | | 3 | `ExecutorIdentityId` | `nvarchar(256)` | Yes | No | - | | 4 | `ActorIdentityId` | `nvarchar(256)` | Yes | No | - | | 5 | `ExecutorName` | `nvarchar(256)` | Yes | No | - | | 6 | `ActorName` | `nvarchar(256)` | Yes | No | - | | 7 | `FromActivityName` | `nvarchar(max)` | No | No | - | | 8 | `ToActivityName` | `nvarchar(max)` | No | No | - | | 9 | `ToStateName` | `nvarchar(max)` | Yes | No | - | | 10 | `TransitionTime` | `datetime` | No | No | - | | 11 | `TransitionClassifier` | `nvarchar(max)` | No | No | - | | 12 | `IsFinalised` | `bit` | No | No | - | | 13 | `FromStateName` | `nvarchar(max)` | Yes | No | - | | 14 | `TriggerName` | `nvarchar(max)` | Yes | No | - | | 15 | `StartTransitionTime` | `datetime` | Yes | No | - | | 16 | `TransitionDuration` | `bigint` | Yes | No | - | | 17 | `TenantId` | `nvarchar(128)` | Yes | No | - | ## Database indexes The `WorkflowProcessTransitionHistory` table defines 3 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WorkflowProcessTransitionHistory indexes | Index | Unique | Definition | |-------|--------|------------| | `IX_ExecutorIdentityId` | No | `[ExecutorIdentityId]` | | `IX_ProcessId_Clustered` | No | `[ProcessId]` | | `PK_WorkflowProcessTransitionHistory` | Yes | `[Id]` |