Assembly: OptimaJet.Workflow.Core

Class ProcessInstanceEntity

OptimaJet.Workflow.Core.Entities.ProcessInstanceEntity

Represents a persistence entity used to store system data for a ProcessInstance.

public class ProcessInstanceEntity : IEntity

Type Hierarchy

  • ProcessInstanceEntity Current type

Properties

public string ActivityName { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.CurrentActivityName.

public Guid Id { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.ProcessId.

public string PreviousActivity { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.PreviousActivityName.

public string PreviousActivityForDirect { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.PreviousActivityForDirectName, which records the source activity of the most recent transition classified as TransitionClassifier.Direct.

public string PreviousActivityForReverse { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.PreviousActivityForReverseName, which records the source activity of the most recent transition classified as TransitionClassifier.Reverse.

public string PreviousState { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.PreviousState.

public string PreviousStateForDirect { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.PreviousStateForDirect, which records the source state of the most recent transition classified as TransitionClassifier.Direct.

public string PreviousStateForReverse { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.PreviousStateForReverse, which records the source state of the most recent transition classified as TransitionClassifier.Reverse.

public Guid? SchemeId { get; set; } #

Gets or sets the process scheme identifier exposed by ProcessInstance.SchemeId.

public string StateName { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.CurrentState.

public Guid? ParentProcessId { get; set; } #

Gets or sets the identifier of the parent process instance exposed by ProcessInstance.ParentProcessId.

public Guid RootProcessId { get; set; } #

Gets or sets the identifier of the root process instance exposed by ProcessInstance.RootProcessId.

public string TenantId { get; set; } #

Gets or sets the tenant identifier exposed by ProcessInstance.TenantId.

public string StartingTransition { get; set; } #

Gets or sets the name of the transition that started the subprocess, as recorded by ProcessDefinition.StartingTransition.

public string SubprocessName { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.SubprocessName.

public DateTime CreationDate { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.CreationDate.

public DateTime? LastTransitionDate { get; set; } #

Gets or sets the persisted value exposed by ProcessInstance.LastTransitionDate.

public string CalendarName { get; set; } #

Gets or sets the name of the work calendar exposed by ProcessInstance.CalendarName.

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 ProcessInstanceEntity.

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

Exceptions

Type
Description
ColumnNotExistsException
key does not identify a supported property.