Class BeforeActivityExecutionEventArgs
OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs
Represent information about an activity which was planned to execute, contains ProcessInstance object
Namespace: OptimaJet.Workflow.Core.Runtime
public class BeforeActivityExecutionEventArgs : EventArgsInheritance
- System.Object
- System.EventArgs
Constructors
public BeforeActivityExecutionEventArgs(ProcessInstance processInstance) #Constructor
Parameters
Name
Type
Description
processInstanceProcessInstanceInstance of the process
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
ExecutedActivityName #StringReturns the name of executed activity.
ExecutedActivityState #StringReturns the state name of executed activity.
ExecutedActivity #ActivityDefinitionReturns the executed activity.
ExecutedTransition #TransitionDefinitionReturns the executed transition.
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
CurrentState #StringReturns the current state.