Assembly: OptimaJet.Workflow.Core

Class ProcessStatusChangedEventArgs

OptimaJet.Workflow.Core.Runtime.ProcessStatusChangedEventArgs

Provides event data for WorkflowRuntime.OnProcessStatusChanged and WorkflowRuntime.OnProcessStatusChangedAsync.

public class ProcessStatusChangedEventArgs : EventArgs

Type 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
processId
Guid
The identifier of the process whose status was changed.
isSubprocess
Boolean
A value indicating whether the status change belongs to a subprocess.
oldStatus
ProcessStatus
Previous status of the process.
newStatus
ProcessStatus
Current 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.