Class ProcessInstanceEntity
OptimaJet.Workflow.Core.Entities.ProcessInstanceEntity
Represents a persistence entity used to store system data for a ProcessInstance.
Namespace: OptimaJet.Workflow.Core.Entities
public class ProcessInstanceEntity : IEntityType Hierarchy
- ProcessInstanceEntity Current type
- Implemented interfaces
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
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.Exceptions
Type
Description
ColumnNotExistsExceptionkey does not identify a supported property.