# Workflow Form The `WORKFLOWFORM` table is part of the [Oracle database schema](https://docs.workflowengine.io/database-schema/oracle/) 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 Oracle. Table: WORKFLOWFORM columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `ID` | `RAW(16)` | No | Yes | - | | 2 | `NAME` | `NVARCHAR2(512)` | No | No | - | | 3 | `VERSION` | `NUMBER(10,0)` | No | No | - | | 4 | `CREATIONDATE` | `TIMESTAMP(6)` | No | No | `CURRENT_TIMESTAMP` | | 5 | `UPDATEDDATE` | `TIMESTAMP(6)` | No | No | `CURRENT_TIMESTAMP` | | 6 | `DEFINITION` | `NCLOB` | No | No | - | | 7 | `LOCKFLAG` | `NUMBER(10,0)` | No | No | - | | 8 | `TENANTID` | `NVARCHAR2(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, SYS_NC00009$, SYS_NC00010 # Workflow Form The `WORKFLOWFORM` table is part of the [Oracle database schema](https://docs.workflowengine.io/database-schema/oracle/) 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 Oracle. Table: WORKFLOWFORM columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `ID` | `RAW(16)` | No | Yes | - | | 2 | `NAME` | `NVARCHAR2(512)` | No | No | - | | 3 | `VERSION` | `NUMBER(10,0)` | No | No | - | | 4 | `CREATIONDATE` | `TIMESTAMP(6)` | No | No | `CURRENT_TIMESTAMP` | | 5 | `UPDATEDDATE` | `TIMESTAMP(6)` | No | No | `CURRENT_TIMESTAMP` | | 6 | `DEFINITION` | `NCLOB` | No | No | - | | 7 | `LOCKFLAG` | `NUMBER(10,0)` | No | No | - | | 8 | `TENANTID` | `NVARCHAR2(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 | |