# Class WorkflowInbox OptimaJet.Workflow.MySQL.WorkflowInbox Namespace: [OptimaJet.Workflow.MySQL](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/) ```csharp public class WorkflowInbox : DbObject ``` ## Type Hierarchy - [DbObject](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/DbObject-TEntity/) - WorkflowInbox Current type ## Constructors `public WorkflowInbox(int commandTimeout)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `commandTimeout` | `Int32` | | ## Methods `public static InboxEntity ToDB(InboxItem inboxItem)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `inboxItem` | `InboxItem` | | ### Returns | Type | Description | | --- | --- | | `InboxEntity` | | `public static Task> FromDB(WorkflowRuntime runtime, InboxEntity[] inboxItems, CultureInfo culture)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `runtime` | `WorkflowRuntime` | | | `inboxItems` | `InboxEntity[]` | | | `culture` | `CultureInfo` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task DeleteByProcessIdAsync(MySqlConnection connection, Guid processId, MySqlTransaction transaction = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `processId` | `Guid` | | | `transaction` | `MySqlTransaction` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task SelectByProcessIdAsync(MySqlConnection connection, Guid processId)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `processId` | `Guid` | | ### Returns | Type | Description | | --- | --- | | `Task` | | [Previous WorkflowGlobalParameter](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/WorkflowGlobalParameter/) [Next WorkflowProcessInstance](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/WorkflowProcessInstance/)