Workflow Process Instance Status
The WorkflowProcessInstanceStatus table is part of the SQLite 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 SQLite.
| Position | Column | Database type | Nullable | Primary key | Default |
|---|---|---|---|---|---|
| 1 | Id | TEXT | No | Yes | - |
| 2 | Status | INTEGER | No | No | - |
| 3 | Lock | TEXT | No | No | - |
| 4 | RuntimeId | TEXT | No | No | - |
| 5 | SetTime | INTEGER | No | No | - |
| 6 | TenantId | TEXT | 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_idx | No | CREATE INDEX "WorkflowProcessInstanceStatus_Status_Runtime_idx" ON "WorkflowProcessInstanceStatus" ("Status" ASC, "RuntimeId" ASC) |
WorkflowProcessInstanceStatus_Status_idx | No | CREATE INDEX "WorkflowProcessInstanceStatus_Status_idx" ON "WorkflowProcessInstanceStatus" ("Status") |
sqlite_autoindex_WorkflowProcessInstanceStatus_1 | Yes | Id |