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.
| Position | Column | Database type | Nullable | Primary key | Default |
|---|---|---|---|---|---|
| 1 | Id | uuid | No | Yes | - |
| 2 | Status | smallint | No | No | - |
| 3 | Lock | uuid | No | No | - |
| 4 | RuntimeId | character varying(450) | No | No | - |
| 5 | SetTime | timestamp without time zone | No | No | - |
| 6 | TenantId | character varying(128) | Yes | No | - |
Database indexes
The WorkflowProcessInstanceStatus table defines 3 database indexes. Definitions retain the column or field order and sort direction used by the database.
| Index | Unique | Definition |
|---|---|---|
WorkflowProcessInstanceStatus_Status_Runtime_ix | No | CREATE INDEX "WorkflowProcessInstanceStatus_Status_Runtime_ix" ON public."WorkflowProcessInstanceStatus" USING btree ("Status", "RuntimeId") |
WorkflowProcessInstanceStatus_Status_idx | No | CREATE INDEX "WorkflowProcessInstanceStatus_Status_idx" ON public."WorkflowProcessInstanceStatus" USING btree ("Status") |
WorkflowProcessInstanceStatus_pkey | Yes | CREATE UNIQUE INDEX "WorkflowProcessInstanceStatus_pkey" ON public."WorkflowProcessInstanceStatus" USING btree ("Id") |