Class ProcessActivityChangedEventArgs
Represent information about an activity which was set as a current acivity of process, contains ProcessInstance object
Inheritance
↳ object
↳ ProcessActivityChangedEventArgs
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Runtime
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class ProcessActivityChangedEventArgs
Constructors
ProcessActivityChangedEventArgs(ProcessInstance, bool)
Constructor
Declarationpublic ProcessActivityChangedEventArgs(ProcessInstance processInstance, bool transitionalProcessWasCompleted)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | Instance of the process |
bool | transitionalProcessWasCompleted | Indicates that a transitional process was completed and a process will stop in current activity |
Properties
ProcessId
Id of the process whose current activity was changed
Declarationpublic Guid ProcessId { get; }
Type | Description |
---|---|
Guid |
IsSubprocess
If true means that the current activity was changed for subprocess
Declarationpublic bool IsSubprocess { get; }
Type | Description |
---|---|
bool |
SchemeCode
Code of the scheme of the process
Declarationpublic string SchemeCode { get; }
Type | Description |
---|---|
string |
ProcessInstance
Instance of the process
Declarationpublic ProcessInstance ProcessInstance { get; }
Type | Description |
---|---|
ProcessInstance |
PreviousActivityName
Returns the name of previous activity.
Declarationpublic string PreviousActivityName { get; }
Type | Description |
---|---|
string |
PreviousActivity
Returns the previous activity.
Declarationpublic ActivityDefinition PreviousActivity { get; }
Type | Description |
---|---|
ActivityDefinition |
CurrentActivity
Returns the current activity. Activity which was final for last executed transition TransitionDefinition.From
Declarationpublic ActivityDefinition CurrentActivity { get; }
Type | Description |
---|---|
ActivityDefinition |
CurrentActivityName
Returns the name of current activity. Activity which was final for last executed transition TransitionDefinition.From
Declarationpublic string CurrentActivityName { get; }
Type | Description |
---|---|
string |
StateWasChanged
Returns true if a state of process was changed
Declarationpublic bool StateWasChanged { get; }
Type | Description |
---|---|
bool |
TransitionalProcessWasCompleted
Indicates that a transitional process was completed and a process will stop in current activity
Declarationpublic bool TransitionalProcessWasCompleted { get; }
Type | Description |
---|---|
bool |
CurrentState
Returns the name of the current state. State which was final for last executed transition TransitionDefinition.From
Declarationpublic string CurrentState { get; }
Type | Description |
---|---|
string |
PreviousState
Returns the name of the state which was initial for last executed direct transition TransitionDefinition.From
Declarationpublic string PreviousState { get; }
Type | Description |
---|---|
string |
ExecutedTransition
Returns the executed transition.
Declarationpublic TransitionDefinition ExecutedTransition { get; }
Type | Description |
---|---|
TransitionDefinition |