Class ProcessStatusChangedEventArgs
OptimaJet.Workflow.Core.Runtime.ProcessStatusChangedEventArgs
Provides event data for WorkflowRuntime.OnProcessStatusChanged and WorkflowRuntime.OnProcessStatusChangedAsync.
Namespace: OptimaJet.Workflow.Core.Runtime
public class ProcessStatusChangedEventArgs : EventArgsType Hierarchy
- EventArgs
- ProcessStatusChangedEventArgs Current type
Constructors
public ProcessStatusChangedEventArgs(Guid processId, bool isSubprocess, ProcessStatus oldStatus, ProcessStatus newStatus) #Initializes a new instance of the ProcessStatusChangedEventArgs class.
Parameters
Name
Type
Description
processIdGuidThe identifier of the process whose status was changed.
isSubprocessBooleanA value indicating whether the status change belongs to a subprocess.
oldStatusProcessStatusPrevious status of the process.
newStatusProcessStatusCurrent status of the process.
Properties
public Guid ProcessId { get; } #Gets the identifier of the process whose status was changed.
public bool IsSubprocess { get; } #Gets a value indicating whether the status change belongs to a subprocess.
public ProcessStatus OldStatus { get; } #Gets the previous status of the process.
public ProcessStatus NewStatus { get; } #Gets the current status of the process.
public string SchemeCode { get; } #Gets or sets the code of the process scheme.
public ProcessInstance ProcessInstance { get; } #Gets or sets the process instance associated with the status change.