Assembly: OptimaJet.Workflow.Core

Class ProcessTimerEntity

OptimaJet.Workflow.Core.Entities.ProcessTimerEntity

Represents a persistence entity that stores a scheduled TimerDefinition for an ProcessInstance.

public class ProcessTimerEntity : IEntity

Type Hierarchy

  • ProcessTimerEntity Current type

Properties

public Guid Id { get; set; } #
Gets or sets the persisted timer identifier.
public Guid ProcessId { get; set; } #
Gets or sets the identifier of the process instance that owns the timer, as exposed by ProcessInstance.ProcessId.
public Guid RootProcessId { get; set; } #
Gets or sets the identifier of the root process instance in the owning process tree, as exposed by ProcessInstance.RootProcessId.
public string Name { get; set; } #
Gets or sets the persisted timer name corresponding to BaseDefinition.Name on the scheduled TimerDefinition.
public DateTime NextExecutionDateTime { get; set; } #
Gets or sets the date and time at which the persisted timer is next scheduled to execute.
public bool Ignore { get; set; } #
Gets or sets a value indicating whether the timer is excluded from selection for execution.
public string TenantId { get; set; } #
Gets or sets the tenant identifier associated with the owning process instance, as exposed by ProcessInstance.TenantId.

Methods

public object GetValue(string key) #
Gets the value of the property identified by the specified key.

Parameters

Name
Type
Description
key
String
The name of a supported public property declared by ProcessTimerEntity.

Returns

Type
Description
Object
The property value identified by key.

Exceptions

Type
Description
ColumnNotExistsException
key does not identify a supported property.
public void SetValue(string key, object value) #
Sets the value of the property identified by the specified key.

Parameters

Name
Type
Description
key
String
The name of a supported public property declared by ProcessTimerEntity.

Exceptions

Type
Description
ColumnNotExistsException
key does not identify a supported property.