namespace Elsa.Workflows.Runtime; /// /// Identifies what caused a drain to be initiated. /// public enum DrainTrigger { /// The host process received a stop signal (e.g., SIGTERM, Ctrl+C, orchestrator rollout). HostStopSignal, /// The shell platform is deactivating the shell that owns this runtime. ShellDeactivation, /// An operator invoked the admin force endpoint. OperatorForce, }