Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class ProcessActivityChangedEventArgs

Represent information about an activity which was set as a current acivity of process, contains ProcessInstance object

Inheritance

↳ object

    ↳ ProcessActivityChangedEventArgs

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class ProcessActivityChangedEventArgs

Constructors

ProcessActivityChangedEventArgs(ProcessInstance, bool)

Constructor

Declaration
public ProcessActivityChangedEventArgs(ProcessInstance processInstance, bool transitionalProcessWasCompleted)
Parameters
TypeNameDescription
ProcessInstanceprocessInstanceInstance of the process
booltransitionalProcessWasCompletedIndicates that a transitional process was completed and a process will stop in current activity

Properties

ProcessId

Id of the process whose current activity was changed

Declaration
public Guid ProcessId { get; }
Property value
TypeDescription
Guid

IsSubprocess

If true means that the current activity was changed for subprocess

Declaration
public bool IsSubprocess { get; }
Property value
TypeDescription
bool

SchemeCode

Code of the scheme of the process

Declaration
public string SchemeCode { get; }
Property value
TypeDescription
string

ProcessInstance

Instance of the process

Declaration
public ProcessInstance ProcessInstance { get; }
Property value
TypeDescription
ProcessInstance

PreviousActivityName

Returns the name of previous activity.

Declaration
public string PreviousActivityName { get; }
Property value
TypeDescription
string

PreviousActivity

Returns the previous activity.

Declaration
public ActivityDefinition PreviousActivity { get; }
Property value
TypeDescription
ActivityDefinition

CurrentActivity

Returns the current activity. Activity which was final for last executed transition TransitionDefinition.From

Declaration
public ActivityDefinition CurrentActivity { get; }
Property value
TypeDescription
ActivityDefinition

CurrentActivityName

Returns the name of current activity. Activity which was final for last executed transition TransitionDefinition.From

Declaration
public string CurrentActivityName { get; }
Property value
TypeDescription
string

StateWasChanged

Returns true if a state of process was changed

Declaration
public bool StateWasChanged { get; }
Property value
TypeDescription
bool

TransitionalProcessWasCompleted

Indicates that a transitional process was completed and a process will stop in current activity

Declaration
public bool TransitionalProcessWasCompleted { get; }
Property value
TypeDescription
bool

CurrentState

Returns the name of the current state. State which was final for last executed transition TransitionDefinition.From

Declaration
public string CurrentState { get; }
Property value
TypeDescription
string

PreviousState

Returns the name of the state which was initial for last executed direct transition TransitionDefinition.From

Declaration
public string PreviousState { get; }
Property value
TypeDescription
string

ExecutedTransition

Returns the executed transition.

Declaration
public TransitionDefinition ExecutedTransition { get; }
Property value
TypeDescription
TransitionDefinition

Extension Methods