Assembly: OptimaJet.Workflow.Core

Class ProcessInstanceStatusEntity

OptimaJet.Workflow.Core.Entities.ProcessInstanceStatusEntity

Represents the persistence entity that stores ProcessStatus information and status-update metadata for a process instance.

public class ProcessInstanceStatusEntity : IEntity

Type Hierarchy

  • ProcessInstanceStatusEntity Current type

Properties

public Guid Id { get; set; } #
Gets or sets the process instance identifier exposed by ProcessInstance.ProcessId.
public Guid Lock { get; set; } #
Gets or sets the concurrency token used to guard updates to ProcessInstanceStatusEntity.Status.
public byte Status { get; set; } #
Gets or sets the persisted status value represented by ProcessStatus.Id.
public string RuntimeId { get; set; } #
Gets or sets the persisted WorkflowRuntime.Id value recorded when ProcessInstanceStatusEntity.Status was set.
public DateTime SetTime { get; set; } #
Gets or sets the date and time when ProcessInstanceStatusEntity.Status was set.
public string TenantId { get; set; } #
Gets or sets the persisted value 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 ProcessInstanceStatusEntity.

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 ProcessInstanceStatusEntity.
value
Object
The value to assign to the property identified by key.

Exceptions

Type
Description
ColumnNotExistsException
key does not identify a supported property.