Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class ProcessActivityChangedEventArgs

OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs

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

public class ProcessActivityChangedEventArgs

Inheritance

  • System.Object

Constructors

public ProcessActivityChangedEventArgs(ProcessInstance processInstance, bool transitionalProcessWasCompleted) #
Constructor

Parameters

Name
Type
Description
processInstance
ProcessInstance
Instance of the process
transitionalProcessWasCompleted
Boolean
Indicates that a transitional process was completed and a process will stop in current activity

Properties

Name
Type
ProcessId #
Guid
Id of the process whose current activity was changed
IsSubprocess #
Boolean
If true means that the current activity was changed for subprocess
SchemeCode #
String
Code of the scheme of the process
ProcessInstance #
ProcessInstance
Instance of the process
PreviousActivityName #
String
Returns the name of previous activity.
PreviousActivity #
ActivityDefinition
Returns the previous activity.
CurrentActivity #
ActivityDefinition
Returns the current activity. Activity which was final for last executed transition TransitionDefinition.From
CurrentActivityName #
String
Returns the name of current activity. Activity which was final for last executed transition TransitionDefinition.From
StateWasChanged #
Boolean
Returns true if a state of process was changed
TransitionalProcessWasCompleted #
Boolean
Indicates that a transitional process was completed and a process will stop in current activity
CurrentState #
String
Returns the name of the current state. State which was final for last executed transition TransitionDefinition.From
PreviousState #
String
Returns the name of the state which was initial for last executed direct transition TransitionDefinition.From
ExecutedTransition #
TransitionDefinition
Returns the executed transition.