Class WorkflowErrorEventArgs
Represents information about an error occurred due to execution of a workflow process
Inheritance
↳ object
↳ EventArgs
↳ WorkflowErrorEventArgs
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 WorkflowErrorEventArgs : EventArgs
Constructors
WorkflowErrorEventArgs(ProcessInstance, ProcessStatus, TransitionDefinition, Exception)
Constructor
Declarationpublic WorkflowErrorEventArgs(ProcessInstance processInstance, ProcessStatus processStatus, TransitionDefinition executedTransition, Exception exception)
| Type | Name | Description | 
|---|---|---|
| ProcessInstance | processInstance | Instance of the process the execution of which caused the error | 
| ProcessStatus | processStatus | Status of the process | 
| TransitionDefinition | executedTransition | Transition the execution of which caused the error | 
| Exception | exception | Exception which was thrown | 
Properties
Exception
Returns the exception which was thrown
Declarationpublic Exception Exception { get; set; }
| Type | Description | 
|---|---|
| Exception | 
ProcessInstance
Returns the instance of the process the execution of which caused the error
Declarationpublic ProcessInstance ProcessInstance { get; set; }
| Type | Description | 
|---|---|
| ProcessInstance | 
ProcessStatus
Status of the process
Declarationpublic ProcessStatus ProcessStatus { get; set; }
| Type | Description | 
|---|---|
| ProcessStatus | 
ExecutedTransition
Returns the transition the execution of which caused the error
Declarationpublic TransitionDefinition ExecutedTransition { get; set; }
| Type | Description | 
|---|---|
| TransitionDefinition | 
SuppressThrow
If true the thrown exception won't be propagated.
Declarationpublic bool SuppressThrow { get; set; }
| Type | Description | 
|---|---|
| bool | 
ActivityToSet
If not then the specified activity will be set as current for the process which execution caused the error
Declarationpublic ActivityDefinition ActivityToSet { get; set; }
| Type | Description | 
|---|---|
| ActivityDefinition |