Workflow Form
The WorkflowForm table is part of the PostgreSQL database schema used by Workflow Engine. The WorkflowForm table stores versioned form definitions used by Workflow Engine. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes.
Table columns
The WorkflowForm table contains 8 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 | Name | character varying(512) | No | No | - |
| 3 | Version | integer | No | No | - |
| 4 | CreationDate | timestamp without time zone | No | No | LOCALTIMESTAMP |
| 5 | UpdatedDate | timestamp without time zone | No | No | LOCALTIMESTAMP |
| 6 | Definition | text | No | No | - |
| 7 | Lock | integer | No | No | - |
| 8 | TenantId | character varying(128) | Yes | No | - |
Database indexes
The WorkflowForm table defines 2 database indexes. Definitions retain the column or field order and sort direction used by the database.
| Index | Unique | Definition |
|---|---|---|
WorkflowForm_Name_Version_TenantId_key | Yes | CREATE UNIQUE INDEX "WorkflowForm_Name_Version_TenantId_key" ON public."WorkflowForm" USING btree ("Name", "Version", "TenantId") NULLS NOT DISTINCT |
WorkflowForm_pkey | Yes | CREATE UNIQUE INDEX "WorkflowForm_pkey" ON public."WorkflowForm" USING btree ("Id") |