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

Represent information about an error occurred due to execution of a workflow process More...

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

Public Member Functions

 WorkflowErrorEventArgs (ProcessInstance processInstance, ProcessStatus processStatus, TransitionDefinition executedTransition, Exception exception)
 Constructor More...
 

Properties

Exception Exception [get, set]
 Returns the exception which was thrown More...
 
ProcessInstance ProcessInstance [get, set]
 Returns the instance of the process the execution of which caused the error More...
 
ProcessStatus ProcessStatus [get, set]
 Status of the process More...
 
TransitionDefinition ExecutedTransition [get, set]
 Returns the transition the execution of which caused the error More...
 

Detailed Description

Represent information about an error occurred due to execution of a workflow process

Constructor & Destructor Documentation

◆ WorkflowErrorEventArgs()

OptimaJet.Workflow.Core.Runtime.WorkflowErrorEventArgs.WorkflowErrorEventArgs ( ProcessInstance  processInstance,
ProcessStatus  processStatus,
TransitionDefinition  executedTransition,
Exception  exception 
)

Constructor

Parameters
processInstanceInstance of the process the execution of which caused the error
processStatusStatus of the process
executedTransitionTransition the execution of which caused the error
exceptionException which was thrown

Property Documentation

◆ Exception

Exception OptimaJet.Workflow.Core.Runtime.WorkflowErrorEventArgs.Exception
getset

Returns the exception which was thrown

◆ ExecutedTransition

TransitionDefinition OptimaJet.Workflow.Core.Runtime.WorkflowErrorEventArgs.ExecutedTransition
getset

Returns the transition the execution of which caused the error

◆ ProcessInstance

ProcessInstance OptimaJet.Workflow.Core.Runtime.WorkflowErrorEventArgs.ProcessInstance
getset

Returns the instance of the process the execution of which caused the error

◆ ProcessStatus

ProcessStatus OptimaJet.Workflow.Core.Runtime.WorkflowErrorEventArgs.ProcessStatus
getset

Status of the process