Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class WorkflowErrorEventArgs

OptimaJet.Workflow.Core.Runtime.WorkflowErrorEventArgs

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

public class WorkflowErrorEventArgs : EventArgs

Inheritance

  • System.Object
  • System.EventArgs

Constructors

public WorkflowErrorEventArgs(ProcessInstance processInstance, ProcessStatus processStatus, TransitionDefinition executedTransition, Exception exception) #
Constructor

Parameters

Name
Type
Description
processInstance
ProcessInstance
Instance of the process the execution of which caused the error
processStatus
ProcessStatus
Status of the process
executedTransition
TransitionDefinition
Transition the execution of which caused the error
exception
Exception
Exception which was thrown

Properties

Name
Type
Exception #
Exception
Returns the exception which was thrown
ProcessInstance #
ProcessInstance
Returns the instance of the process the execution of which caused the error
ProcessStatus #
ProcessStatus
Status of the process
ExecutedTransition #
TransitionDefinition
Returns the transition the execution of which caused the error
SuppressThrow #
Boolean
If true the thrown exception won't be propagated.
ActivityToSet #
ActivityDefinition
If not null then the specified activity will be set as current for the process which execution caused the error