Skip to Content
Evaluate Get Started Plugins Glossary

Workflow Process Instance Status

The WorkflowProcessInstanceStatus table is part of the PostgreSQL database schema used by Workflow Engine. The WorkflowProcessInstanceStatus table stores process execution status, locks, and runtime ownership. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes.

Table columns

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

WorkflowProcessInstanceStatus columns
PositionColumnDatabase typeNullablePrimary keyDefault
1IduuidNoYes-
2StatussmallintNoNo-
3LockuuidNoNo-
4RuntimeIdcharacter varying(450)NoNo-
5SetTimetimestamp without time zoneNoNo-
6TenantIdcharacter varying(128)YesNo-

Database indexes

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

WorkflowProcessInstanceStatus indexes
IndexUniqueDefinition
WorkflowProcessInstanceStatus_Status_Runtime_ixNoCREATE INDEX "WorkflowProcessInstanceStatus_Status_Runtime_ix" ON public."WorkflowProcessInstanceStatus" USING btree ("Status", "RuntimeId")
WorkflowProcessInstanceStatus_Status_idxNoCREATE INDEX "WorkflowProcessInstanceStatus_Status_idx" ON public."WorkflowProcessInstanceStatus" USING btree ("Status")
WorkflowProcessInstanceStatus_pkeyYesCREATE UNIQUE INDEX "WorkflowProcessInstanceStatus_pkey" ON public."WorkflowProcessInstanceStatus" USING btree ("Id")