Assembly: OptimaJet.Workflow.Core

Class ProcessTransitionHistoryEntity

OptimaJet.Workflow.Core.Entities.ProcessTransitionHistoryEntity

Represents a persistence entity for a transition or process initialization history entry exposed as a ProcessHistoryItem.

public class ProcessTransitionHistoryEntity : IEntity

Type Hierarchy

  • ProcessTransitionHistoryEntity Current type

Properties

public string ActorIdentityId { get; set; } #
Gets or sets the workflow participant identity on whose behalf the transition was executed.
public string ExecutorIdentityId { get; set; } #
Gets or sets the workflow participant identity of the executor that performed the transition.
public string ActorName { get; set; } #
Gets or sets the user name resolved by WorkflowRuntime.GetUserByIdentityAsync for the workflow participant identity on whose behalf the transition was executed when that delegate is configured.
public string ExecutorName { get; set; } #
Gets or sets the user name resolved by WorkflowRuntime.GetUserByIdentityAsync for the executor's workflow participant identity when that delegate is configured.
public string FromActivityName { get; set; } #
Gets or sets the name of the source activity.
public string FromStateName { get; set; } #
Gets or sets the state explicitly assigned to the source activity.

Remarks

This value can be empty even when the process has an effective state. If the source activity has no state, the process retains the state established by an earlier activity.
public Guid Id { get; set; } #
Gets or sets the unique identifier of the history entry.
public bool IsFinalised { get; set; } #
Gets or sets a value indicating whether the process was finalized by this transition.
public Guid ProcessId { get; set; } #
Gets or sets the process identifier under which the history entry is stored.
public string TenantId { get; set; } #
Gets or sets the tenant identifier associated with the process instance.
public string ToActivityName { get; set; } #
Gets or sets the name of the destination activity.
public string ToStateName { get; set; } #
Gets or sets the state explicitly assigned to the destination activity.

Remarks

An empty value means that entering the destination activity does not change the effective process state.
public string TransitionClassifier { get; set; } #
Gets or sets the name of the TransitionClassifier value recorded for the history entry.
public DateTime TransitionTime { get; set; } #
Gets or sets the time recorded for the transition or process initialization.
public string TriggerName { get; set; } #
Gets or sets the name recorded as the transition trigger, such as a command or timer name, or Initializing for the initial history entry.
public DateTime? StartTransitionTime { get; set; } #
Gets or sets the time when transition execution started.
public long? TransitionDuration { get; set; } #
Gets or sets the transition execution duration in milliseconds.

Methods

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

Parameters

Name
Type
Description
key
String
The case-sensitive name of a property declared by ProcessTransitionHistoryEntity.

Returns

Type
Description
Object
The current value of the property 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 key.

Parameters

Name
Type
Description
key
String
The case-sensitive name of a property declared by ProcessTransitionHistoryEntity.
value
Object
The value to assign to the property identified by key.

Exceptions

Type
Description
ColumnNotExistsException
key does not identify a supported property.