Class WorkflowErrorEventArgs
OptimaJet.Workflow.Core.Runtime.WorkflowErrorEventArgs
Represents information about an error occurred due to execution of a workflow process
Namespace: OptimaJet.Workflow.Core.Runtime
public class WorkflowErrorEventArgs : EventArgsInheritance
- System.Object
- System.EventArgs
Constructors
public WorkflowErrorEventArgs(ProcessInstance processInstance, ProcessStatus processStatus, TransitionDefinition executedTransition, Exception exception) #Constructor
Parameters
Name
Type
Description
processInstanceProcessInstanceInstance of the process the execution of which caused the error
processStatusProcessStatusStatus of the process
executedTransitionTransitionDefinitionTransition the execution of which caused the error
exceptionExceptionException which was thrown
Properties
Name
Type
Exception #ExceptionReturns the exception which was thrown
ProcessInstance #ProcessInstanceReturns the instance of the process the execution of which caused the error
ProcessStatus #ProcessStatusStatus of the process
ExecutedTransition #TransitionDefinitionReturns the transition the execution of which caused the error
SuppressThrow #BooleanIf true the thrown exception won't be propagated.
ActivityToSet #ActivityDefinitionIf not null then the specified activity will be set as current for the process which execution caused the error