# Workflow Approval History The `WORKFLOWAPPROVALHISTORY` table is part of the [Oracle database schema](https://docs.workflowengine.io/database-schema/oracle/) used by Workflow Engine. The `WORKFLOWAPPROVALHISTORY` table stores approval decisions associated with process instances. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes. ## Table columns The `WORKFLOWAPPROVALHISTORY` table contains 11 columns in database order. Data types and default expressions use the syntax defined by Oracle. Table: WORKFLOWAPPROVALHISTORY columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `ID` | `RAW(16)` | No | Yes | - | | 2 | `PROCESSID` | `RAW(16)` | No | No | - | | 3 | `IDENTITYID` | `NVARCHAR2(256)` | Yes | No | - | | 4 | `ALLOWEDTO` | `CLOB` | Yes | No | - | | 5 | `TRANSITIONTIME` | `TIMESTAMP(6)` | Yes | No | - | | 6 | `SORT` | `NUMBER(19,0)` | Yes | No | - | | 7 | `INITIALSTATE` | `NVARCHAR2(1024)` | No | No | - | | 8 | `DESTINATIONSTATE` | `NVARCHAR2(1024)` | No | No | - | | 9 | `TRIGGERNAME` | `NVARCHAR2(1024)` | Yes | No | - | | 10 | `COMMENTARY` | `CLOB` | Yes | No | - | | 11 | `TENANTID` | `NVARCHAR2(128)` | Yes | No | - | ## Database indexes The `WORKFLOWAPPROVALHISTORY` table defines 3 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WORKFLOWAPPROVALHISTORY indexes | Index | Unique | Definition | |-------|--------|------------| | `IDX_WORKFLOWAPPROVALHISTORY_IDENTITYID` | No | `IDENTITYID` | | `IDX_WORKFLOWAPPROVALHISTORY_PID` | No | `PROCESSID` | | `PK_WORKFLOWAPPROVALHISTORY` | Yes | `ID` |