Class ProcessTimerEntity
OptimaJet.Workflow.Core.Entities.ProcessTimerEntity
Represents a persistence entity that stores a scheduled TimerDefinition for an ProcessInstance.
Namespace: OptimaJet.Workflow.Core.Entities
public class ProcessTimerEntity : IEntityType Hierarchy
- ProcessTimerEntity Current type
- Implemented interfaces
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
Returns
Type
Description
ObjectThe property value identified by
key.Exceptions
Type
Description
ColumnNotExistsExceptionkey 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
valueObjectThe value to assign to the property identified by
key. The expected type is Guid for ProcessTimerEntity.Id, ProcessTimerEntity.ProcessId, and ProcessTimerEntity.RootProcessId; DateTime for ProcessTimerEntity.NextExecutionDateTime; bool for ProcessTimerEntity.Ignore; and string for ProcessTimerEntity.Name and ProcessTimerEntity.TenantId.Exceptions
Type
Description
ColumnNotExistsExceptionkey does not identify a supported property.