Class BeforeActivityExecutionEventArgs
Represent information about an activity which was planned to execute, contains ProcessInstance object
Inheritance
↳ object
↳ EventArgs
↳ BeforeActivityExecutionEventArgs
Inherited Members
Empty
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Runtime
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class BeforeActivityExecutionEventArgs : EventArgs
Constructors
BeforeActivityExecutionEventArgs(ProcessInstance)
Constructor
Declarationpublic BeforeActivityExecutionEventArgs(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | Instance of the process |
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 |
ExecutedActivityName
Returns the name of executed activity.
Declarationpublic string ExecutedActivityName { get; }
Type | Description |
---|---|
string |
ExecutedActivityState
Returns the state name of executed activity.
Declarationpublic string ExecutedActivityState { get; }
Type | Description |
---|---|
string |
ExecutedActivity
Returns the executed activity.
Declarationpublic ActivityDefinition ExecutedActivity { get; }
Type | Description |
---|---|
ActivityDefinition |
ExecutedTransition
Returns the executed transition.
Declarationpublic TransitionDefinition ExecutedTransition { get; }
Type | Description |
---|---|
TransitionDefinition |
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 |
CurrentState
Returns the current state.
Declarationpublic string CurrentState { get; }
Type | Description |
---|---|
string |