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