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

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

Public Member Functions

 ProcessActivityChangedEventArgs (ProcessInstance processInstance, bool transitionalProcessWasCompleted)
 Constructor More...
 

Properties

Guid ProcessId [get]
 Id of the process whose current activity was changed More...
 
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 PreviousActivityName [get]
 Returns the name of previous activity. More...
 
ActivityDefinition PreviousActivity [get]
 Returns the previous activity. 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...
 
bool StateWasChanged [get]
 Returns true if a state of process was changed More...
 
bool TransitionalProcessWasCompleted [get]
 Indicates that a transitional process was completed and a process will stop in current activity More...
 
string CurrentState [get]
 Returns the name of the current state. State which was final for last executed transition TransitionDefinition.From More...
 
string PreviousState [get]
 Returns the name of the state which was initial for last executed direct transition TransitionDefinition.From More...
 
TransitionDefinition ExecutedTransition [get]
 Returns the executed transition. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ProcessActivityChangedEventArgs()

OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs.ProcessActivityChangedEventArgs ( ProcessInstance  processInstance,
bool  transitionalProcessWasCompleted 
)

Constructor

Parameters
processInstanceInstance of the process
transitionalProcessWasCompletedIndicates that a transitional process was completed and a process will stop in current activity

Property Documentation

◆ CurrentActivity

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

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

◆ CurrentActivityName

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

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

◆ CurrentState

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

Returns the name of the current state. State which was final for last executed transition TransitionDefinition.From

◆ ExecutedTransition

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

Returns the executed transition.

◆ IsSubprocess

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

If true means that the current activity was changed for subprocess

◆ PreviousActivity

ActivityDefinition OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs.PreviousActivity
get

Returns the previous activity.

◆ PreviousActivityName

string OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs.PreviousActivityName
get

Returns the name of previous activity.

◆ PreviousState

string OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs.PreviousState
get

Returns the name of the state which was initial for last executed direct transition TransitionDefinition.From

◆ ProcessId

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

Id of the process whose current activity was changed

◆ ProcessInstance

ProcessInstance OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs.ProcessInstance
get

Instance of the process

◆ SchemeCode

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

Code of the scheme of the process

◆ StateWasChanged

bool OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs.StateWasChanged
get

Returns true if a state of process was changed

◆ TransitionalProcessWasCompleted

bool OptimaJet.Workflow.Core.Runtime.ProcessActivityChangedEventArgs.TransitionalProcessWasCompleted
get

Indicates that a transitional process was completed and a process will stop in current activity