Class ProcessActivityChangedEventArgs
OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs
Represent information about an activity which was set as a current acivity of process, contains ProcessInstance object
Namespace: OptimaJet.Workflow.Core.Runtime
public class ProcessActivityChangedEventArgsInheritance
- System.Object
Constructors
public ProcessActivityChangedEventArgs(ProcessInstance processInstance, bool transitionalProcessWasCompleted) #Constructor
Parameters
Name
Type
Description
processInstanceProcessInstanceInstance of the process
transitionalProcessWasCompletedBooleanIndicates that a transitional process was completed and a process will stop in current activity
Properties
Name
Type
ProcessId #GuidId of the process whose current activity was changed
IsSubprocess #BooleanIf true means that the current activity was changed for subprocess
SchemeCode #StringCode of the scheme of the process
ProcessInstance #ProcessInstanceInstance of the process
PreviousActivityName #StringReturns the name of previous activity.
PreviousActivity #ActivityDefinitionReturns the previous activity.
CurrentActivity #ActivityDefinitionReturns the current activity. Activity which was final for last executed transition TransitionDefinition.From
CurrentActivityName #StringReturns the name of current activity. Activity which was final for last executed transition TransitionDefinition.From
StateWasChanged #BooleanReturns true if a state of process was changed
TransitionalProcessWasCompleted #BooleanIndicates that a transitional process was completed and a process will stop in current activity
CurrentState #StringReturns the name of the current state. State which was final for last executed transition TransitionDefinition.From
PreviousState #StringReturns the name of the state which was initial for last executed direct transition TransitionDefinition.From
ExecutedTransition #TransitionDefinitionReturns the executed transition.