Skip to Content
Evaluate Get Started Plugins Glossary

Workflow Approval History

The WorkflowApprovalHistory table is part of the PostgreSQL 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 PostgreSQL.

WorkflowApprovalHistory columns
PositionColumnDatabase typeNullablePrimary keyDefault
1IduuidNoYes-
2ProcessIduuidNoNo-
3IdentityIdcharacter varying(1024)YesNo-
4AllowedTotextYesNo-
5TransitionTimetimestamp without time zoneYesNo-
6SortbigintYesNo-
7InitialStatecharacter varying(1024)NoNo-
8DestinationStatecharacter varying(1024)NoNo-
9TriggerNamecharacter varying(1024)YesNo-
10CommentarytextYesNo-
11TenantIdcharacter varying(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
WorkflowApprovalHistory_IdentityId_idxNoCREATE INDEX "WorkflowApprovalHistory_IdentityId_idx" ON public."WorkflowApprovalHistory" USING btree ("IdentityId")
WorkflowApprovalHistory_ProcessId_idxNoCREATE INDEX "WorkflowApprovalHistory_ProcessId_idx" ON public."WorkflowApprovalHistory" USING btree ("ProcessId")
WorkflowApprovalHistory_pkeyYesCREATE UNIQUE INDEX "WorkflowApprovalHistory_pkey" ON public."WorkflowApprovalHistory" USING btree ("Id")