Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class BeforeActivityExecutionEventArgs

OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs

Represent information about an activity which was planned to execute, contains ProcessInstance object

public class BeforeActivityExecutionEventArgs : EventArgs

Inheritance

  • System.Object
  • System.EventArgs

Constructors

public BeforeActivityExecutionEventArgs(ProcessInstance processInstance) #
Constructor

Parameters

Name
Type
Description
processInstance
ProcessInstance
Instance of the process

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
ExecutedActivityName #
String
Returns the name of executed activity.
ExecutedActivityState #
String
Returns the state name of executed activity.
ExecutedActivity #
ActivityDefinition
Returns the executed activity.
ExecutedTransition #
TransitionDefinition
Returns the executed transition.
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
CurrentState #
String
Returns the current state.