# Workflow Form The `WorkflowForm` table is part of the [SQL Server database schema](https://docs.workflowengine.io/database-schema/sql-server/) 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 SQL Server. Table: WorkflowForm columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Id` | `uniqueidentifier` | No | Yes | - | | 2 | `Name` | `nvarchar(512)` | No | No | - | | 3 | `Version` | `int` | No | No | - | | 4 | `CreationDate` | `datetime` | No | No | `(getdate())` | | 5 | `UpdatedDate` | `datetime` | No | No | `(getdate())` | | 6 | `Definition` | `nvarchar(max)` | No | No | - | | 7 | `Lock` | `int` | No | No | - | | 8 | `TenantId` | `nvarchar(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. Table: WorkflowForm indexes | Index | Unique | Definition | |-------|--------|------------| | `PK_WorkflowForm` | Yes | `[Id]` | | `UQ_WorkflowForm_Name_Version_TenantId` | Yes | `[Name], [Version], [TenantId]` |