Skip to Content
Evaluate Get Started Plugins Glossary

Workflow Approval History

The WorkflowApprovalHistory table is part of the SQL Server database schema used by Workflow Engine. The WorkflowApprovalHistory table stores approval decisions associated with process instances. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes.

Table columns

The WorkflowApprovalHistory table contains 11 columns in database order. Data types and default expressions use the syntax defined by SQL Server.

WorkflowApprovalHistory columns
PositionColumnDatabase typeNullablePrimary keyDefault
1IduniqueidentifierNoYes-
2ProcessIduniqueidentifierNoNo-
3IdentityIdnvarchar(256)YesNo-
4AllowedTonvarchar(max)YesNo-
5TransitionTimedatetimeYesNo-
6SortbigintYesNo-
7InitialStatenvarchar(1024)NoNo-
8DestinationStatenvarchar(1024)NoNo-
9TriggerNamenvarchar(1024)YesNo-
10Commentarynvarchar(max)YesNo-
11TenantIdnvarchar(128)YesNo-

Database indexes

The WorkflowApprovalHistory table defines 3 database indexes. Definitions retain the column or field order and sort direction used by the database.

WorkflowApprovalHistory indexes
IndexUniqueDefinition
IX_IdentityIdNo[IdentityId]
IX_ProcessId_ClusteredNo[ProcessId]
PK_WorkflowApprovalHistoryYes[Id]