Workflow Engine .NET  2
Public Member Functions | Properties | List of all members
OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs Class Reference

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

Inheritance diagram for OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs:

Public Member Functions

 BeforeActivityExecutionEventArgs (ProcessInstance processInstance)
 Constructor More...
 

Properties

Guid ProcessId [get]
 
bool IsSubprocess [get]
 If true means that the current activity was changed for subprocess More...
 
string SchemeCode [get]
 Code of the scheme of the process More...
 
ProcessInstance ProcessInstance [get]
 Instance of the process More...
 
string ExecutedActivityName [get]
 Returns the name of executed activity. More...
 
string ExecutedActivityState [get]
 Returns the state name of executed activity. More...
 
ActivityDefinition ExecutedActivity [get]
 Returns the executed activity. More...
 
TransitionDefinition ExecutedTransition [get]
 Returns the executed transition. More...
 
ActivityDefinition CurrentActivity [get]
 Returns the current activity. Activity which was final for last executed transition TransitionDefinition.From More...
 
string CurrentActivityName [get]
 Returns the name of current activity. Activity which was final for last executed transition TransitionDefinition.From More...
 
string CurrentState [get]
 Returns the current state. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ BeforeActivityExecutionEventArgs()

OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.BeforeActivityExecutionEventArgs ( ProcessInstance  processInstance)

Constructor

Parameters
processInstanceInstance of the process

Property Documentation

◆ CurrentActivity

ActivityDefinition OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.CurrentActivity
get

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

◆ CurrentActivityName

string OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.CurrentActivityName
get

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

◆ CurrentState

string OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.CurrentState
get

Returns the current state.

◆ ExecutedActivity

ActivityDefinition OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.ExecutedActivity
get

Returns the executed activity.

◆ ExecutedActivityName

string OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.ExecutedActivityName
get

Returns the name of executed activity.

◆ ExecutedActivityState

string OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.ExecutedActivityState
get

Returns the state name of executed activity.

◆ ExecutedTransition

TransitionDefinition OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.ExecutedTransition
get

Returns the executed transition.

◆ IsSubprocess

bool OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.IsSubprocess
get

If true means that the current activity was changed for subprocess

◆ ProcessId

Guid OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.ProcessId
get

Id of the process whose current activity was changed

◆ ProcessInstance

ProcessInstance OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.ProcessInstance
get

Instance of the process

◆ SchemeCode

string OptimaJet.Workflow.Core.Runtime.BeforeActivityExecutionEventArgs.SchemeCode
get

Code of the scheme of the process