# Class WorkflowProcessTimer OptimaJet.Workflow.MySQL.WorkflowProcessTimer Namespace: [OptimaJet.Workflow.MySQL](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/) ```csharp public class WorkflowProcessTimer : DbObject ``` ## Type Hierarchy - [DbObject](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/DbObject-TEntity/) - WorkflowProcessTimer Current type ## Constructors `public WorkflowProcessTimer(int commandTimeout)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `commandTimeout` | `Int32` | | ## Methods `public Task DeleteInactiveByProcessIdAsync(MySqlConnection connection, Guid processId, MySqlTransaction transaction = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `processId` | `Guid` | | | `transaction` | `MySqlTransaction` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task DeleteByProcessIdAsync(MySqlConnection connection, Guid processId, List timersIgnoreList = null, MySqlTransaction transaction = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `processId` | `Guid` | | | `timersIgnoreList` | `List` | | | `transaction` | `MySqlTransaction` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task SelectByProcessIdAndNameAsync(MySqlConnection connection, Guid processId, string name)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `processId` | `Guid` | | | `name` | `String` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task> SelectByProcessIdAsync(MySqlConnection connection, Guid processId)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `processId` | `Guid` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task> SelectActiveByProcessIdAsync(MySqlConnection connection, Guid processId)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `processId` | `Guid` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task SetTimerIgnoreAsync(MySqlConnection connection, Guid timerId, MySqlTransaction transaction = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `timerId` | `Guid` | | | `transaction` | `MySqlTransaction` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task GetTopTimersToExecuteAsync(MySqlConnection connection, int top, DateTime now)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `top` | `Int32` | | | `now` | `DateTime` | | ### Returns | Type | Description | | --- | --- | | `Task` | | [Previous WorkflowProcessScheme](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/WorkflowProcessScheme/) [Next WorkflowProcessTransitionHistory](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/WorkflowProcessTransitionHistory/)