# Class WorkflowApprovalHistory OptimaJet.Workflow.Oracle.WorkflowApprovalHistory Namespace: [OptimaJet.Workflow.Oracle](https://api.workflowengine.io/oracle/OptimaJet.Workflow.Oracle/) ```csharp public class WorkflowApprovalHistory : DbObject ``` ## Type Hierarchy - [DbObject](https://api.workflowengine.io/oracle/OptimaJet.Workflow.Oracle/DbObject-TEntity/) - WorkflowApprovalHistory Current type ## Constructors `public WorkflowApprovalHistory(string schemaName, int commandTimeout)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `schemaName` | `String` | | | `commandTimeout` | `Int32` | | ## Methods `public static ApprovalHistoryEntity ToDb(ApprovalHistoryItem historyItem)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `historyItem` | `ApprovalHistoryItem` | | ### Returns | Type | Description | | --- | --- | | `ApprovalHistoryEntity` | | `public static ApprovalHistoryItem FromDb(ApprovalHistoryEntity historyItem)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `historyItem` | `ApprovalHistoryEntity` | | ### Returns | Type | Description | | --- | --- | | `ApprovalHistoryItem` | | `public Task> SelectOutboxByIdentityIdAsync(OracleConnection connection, string identityId, Paging paging = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `OracleConnection` | | | `identityId` | `String` | | | `paging` | `Paging` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task GetOutboxCountByIdentityIdAsync(OracleConnection connection, string identityId)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `OracleConnection` | | | `identityId` | `String` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task DeleteByProcessIdAsync(OracleConnection connection, Guid processId, OracleTransaction transaction = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `OracleConnection` | | | `processId` | `Guid` | | | `transaction` | `OracleTransaction` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task> SelectByProcessIdAsync(OracleConnection connection, Guid processId)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `OracleConnection` | | | `processId` | `Guid` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task> SelectByIdentityIdAsync(OracleConnection connection, string identityId)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `OracleConnection` | | | `identityId` | `String` | | ### Returns | Type | Description | | --- | --- | | `Task` | | [Previous ProcessInstanceTree](https://api.workflowengine.io/oracle/OptimaJet.Workflow.Oracle/ProcessInstanceTree/) [Next WorkflowGlobalParameter](https://api.workflowengine.io/oracle/OptimaJet.Workflow.Oracle/WorkflowGlobalParameter/)