Workflow Engine .NET

Assembly: OptimaJet.Workflow.MySQL

Class WorkflowProcessTimer

OptimaJet.Workflow.MySQL.WorkflowProcessTimer

public class WorkflowProcessTimer : DbObject<ProcessTimerEntity>

Inheritance

  • System.Object
  • OptimaJet.Workflow.MySQL.DbObject{OptimaJet.Workflow.Core.Entities.ProcessTimerEntity}

Constructors

public WorkflowProcessTimer(int commandTimeout) #

Parameters

Name
Type
Description
commandTimeout
Int32

Methods

public Task<int> DeleteInactiveByProcessIdAsync(MySqlConnection connection, Guid processId, MySqlTransaction transaction = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
processId
Guid
transaction
MySqlTransaction

Returns

Type
Description
Task<Int32>
public Task<int> DeleteByProcessIdAsync(MySqlConnection connection, Guid processId, List<string> timersIgnoreList = null, MySqlTransaction transaction = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
processId
Guid
timersIgnoreList
List<String>
transaction
MySqlTransaction

Returns

Type
Description
Task<Int32>
public Task<ProcessTimerEntity> SelectByProcessIdAndNameAsync(MySqlConnection connection, Guid processId, string name) #

Parameters

Name
Type
Description
connection
MySqlConnection
processId
Guid
name
String

Returns

Type
Description
Task<ProcessTimerEntity>
public Task<IEnumerable<ProcessTimerEntity>> SelectByProcessIdAsync(MySqlConnection connection, Guid processId) #

Parameters

Name
Type
Description
connection
MySqlConnection
processId
Guid

Returns

Type
Description
Task<ProcessTimerEntity>
public Task<IEnumerable<ProcessTimerEntity>> SelectActiveByProcessIdAsync(MySqlConnection connection, Guid processId) #

Parameters

Name
Type
Description
connection
MySqlConnection
processId
Guid

Returns

Type
Description
Task<ProcessTimerEntity>
public Task<int> SetTimerIgnoreAsync(MySqlConnection connection, Guid timerId, MySqlTransaction transaction = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
timerId
Guid
transaction
MySqlTransaction

Returns

Type
Description
Task<Int32>
public Task<ProcessTimerEntity[]> GetTopTimersToExecuteAsync(MySqlConnection connection, int top, DateTime now) #

Parameters

Name
Type
Description
connection
MySqlConnection
top
Int32
now
DateTime

Returns

Type
Description
Task<ProcessTimerEntity[]>