Skip to Content
Evaluate Get Started Plugins Glossary

Workflow Process Instance

The WorkflowProcessInstance table is part of the PostgreSQL database schema used by Workflow Engine. The WorkflowProcessInstance table stores the current state and execution metadata for process instances. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes.

Table columns

The WorkflowProcessInstance table contains 19 columns in database order. Data types and default expressions use the syntax defined by PostgreSQL.

WorkflowProcessInstance columns
PositionColumnDatabase typeNullablePrimary keyDefault
1IduuidNoYes-
2StateNamecharacter varying(256)YesNo-
3ActivityNamecharacter varying(256)NoNo-
4SchemeIduuidNoNo-
5PreviousStatecharacter varying(256)YesNo-
6PreviousStateForDirectcharacter varying(256)YesNo-
7PreviousStateForReversecharacter varying(256)YesNo-
8PreviousActivitycharacter varying(256)YesNo-
9PreviousActivityForDirectcharacter varying(256)YesNo-
10PreviousActivityForReversecharacter varying(256)YesNo-
11IsDeterminingParametersChangedbooleanYesNo-
12ParentProcessIduuidYesNo-
13RootProcessIduuidNoNo-
14TenantIdcharacter varying(128)YesNo-
15StartingTransitiontextYesNo-
16SubprocessNametextYesNo-
17CreationDatetimestamp without time zoneNoNoLOCALTIMESTAMP
18LastTransitionDatetimestamp without time zoneYesNo-
19CalendarNamecharacter varying(256)YesNo-

Database indexes

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

WorkflowProcessInstance indexes
IndexUniqueDefinition
IX_CalendarNameNoCREATE INDEX "IX_CalendarName" ON public."WorkflowProcessInstance" USING btree ("CalendarName")
WorkflowProcessInstance_RootProcessId_idxNoCREATE INDEX "WorkflowProcessInstance_RootProcessId_idx" ON public."WorkflowProcessInstance" USING btree ("RootProcessId")
WorkflowProcessInstance_pkeyYesCREATE UNIQUE INDEX "WorkflowProcessInstance_pkey" ON public."WorkflowProcessInstance" USING btree ("Id")