# Namespace OptimaJet.Workflow.Core.Persistence ## Classes - [ApprovalHistoryItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/ApprovalHistoryItem/) Represents a pending or completed entry in the approval history maintained by [ApprovalPlugin](https://api.workflowengine.io/core/OptimaJet.Workflow.Plugins/ApprovalPlugin/). - [CommandName](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/CommandName/) Represents the system and localized names of a [CommandDefinition](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/CommandDefinition/) available in [InboxItem.AvailableCommands](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/InboxItem/). - [CommandWithClassifier](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/CommandWithClassifier/) Associates a command name with the [TransitionClassifier](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/TransitionClassifier/) assigned to its command transition. - [InboxItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/InboxItem/) Represents an approval inbox entry for a process instance and a workflow participant identity. - [OutboxItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/OutboxItem/) Represents a process-specific outbox summary of [ApprovalHistoryItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/ApprovalHistoryItem/) entries recorded for a workflow participant identity. - [Paging](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/Paging/) Specifies a page of results to retrieve from persistence. - [PersistenceProviderOptions](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/PersistenceProviderOptions/) Provides configuration options for relational database persistence providers. - [ProcessInstanceItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/ProcessInstanceItem/) Represents a persisted process instance record returned by [IPersistenceProvider.GetProcessInstancesAsync(List<(string parameterName, SortDirection sortDirection)>, Paging)](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IPersistenceProvider/). - [ProcessStatus](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/ProcessStatus/) Represents the lifecycle stage of a process. - [SchemeFilePersistence](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/SchemeFilePersistence/) Stores and retrieves unparsed source schemes, Scheme Inlining relationships, and scheme tags in the file system. - [SchemeItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/SchemeItem/) Represents a persisted workflow scheme record returned by [IPersistenceProvider.GetSchemesAsync(List<(string parameterName, SortDirection sortDirection)>, Paging)](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IPersistenceProvider/). - [Sorting](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/Sorting/) Specifies the field and direction used to sort a collection of records. - [TenantGlobalParameterApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/TenantGlobalParameterApi/) Provides global parameter operations through an [IPersistenceProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IPersistenceProvider/) for a tenant-specific or shared scope. - [TenantGlobalParameterKey](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/TenantGlobalParameterKey/) Identifies a tenant-specific or shared global parameter by its TenantGlobalParameterKey.TenantId?text=tenant+identifier, logical TenantGlobalParameterKey.Type?text=parameter+type, and TenantGlobalParameterKey.Name?text=parameter+name. - [TenantGlobalParameterScope](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/TenantGlobalParameterScope/) Specifies the TenantGlobalParameterScope.TenantId?text=tenant+identifier and logical TenantGlobalParameterScope.Type?text=global+parameter+type that define a tenant-specific or shared global parameter scope. - [WorkflowForm](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/WorkflowForm/) Represents a version of a workflow form stored by an [IFormDataProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IFormDataProvider/). ## Interfaces - [IApprovalProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IApprovalProvider/) Defines persistence operations for the approval inbox, approval history, and approval outbox used by [ApprovalPlugin](https://api.workflowengine.io/core/OptimaJet.Workflow.Plugins/ApprovalPlugin/). - [IFormDataProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IFormDataProvider/) Defines persistence operations for retrieving, creating, versioning, updating, and deleting [WorkflowForm](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/WorkflowForm/) instances. - [IPersistenceProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IPersistenceProvider/) Defines the persistence operations used by [WorkflowRuntime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntime/) to store and load process checkpoints, global parameters, timers, and runtime operational state. - [IProcessInstanceTreeItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IProcessInstanceTreeItem/) Represents the persisted data for one process instance in a [ProcessInstancesTree](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Subprocess/ProcessInstancesTree/) hierarchy. - [IRuntimePersistence](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IRuntimePersistence/) Represents the obsolete runtime persistence contract and declares no members. - [ISchemePersistenceProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/ISchemePersistenceProvider-TSchemeMedium/) Defines asynchronous persistence operations for unparsed source schemes, stored built scheme versions, Scheme Inlining relationships, and scheme tags. - [IWorkflowProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IWorkflowProvider/) Combines [IPersistenceProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IPersistenceProvider/) for runtime process data persistence, [ISchemePersistenceProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/ISchemePersistenceProvider-TSchemeMedium/) for XML process scheme persistence, and [IWorkflowGenerator](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Generator/IWorkflowGenerator-TSchemeMedium/) for XML process scheme generation. ## Enums - [SortDirection](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/SortDirection/) Specifies the direction in which values are sorted.