Assembly: OptimaJet.Workflow.Core

Enum RuntimeStatus

OptimaJet.Workflow.Core.Model.RuntimeStatus

Specifies the persisted operational state of a WorkflowRuntime instance used to coordinate startup, shutdown, and process recovery.

public enum RuntimeStatus : byte

Fields

Alive = 0 #
The WorkflowRuntime instance is active in multi-server mode and performs normal workflow processing.
Restore = 1 #
The WorkflowRuntime instance has been selected for process recovery by another WorkflowRuntime instance in multi-server mode.
SelfRestore = 2 #
The WorkflowRuntime instance is restoring its own running processes during startup.
Dead = 3 #
The WorkflowRuntime instance has completed shutdown, or its running processes have been restored by another WorkflowRuntime instance in multi-server mode.
Terminated = 4 #
The WorkflowRuntime instance stopped without completing all active operations or background processes.
Single = 100 #
The WorkflowRuntime instance is active in single-server mode.

Remarks

This status describes a WorkflowRuntime instance. The execution status of a process instance is represented by ProcessStatus.