Table of Contents

Class WaitForSignalInput

Namespace
FlowOrchestrator.Core.Execution
Assembly
FlowOrchestrator.Core.dll

Strongly-typed inputs for the built-in WaitForSignal step type.

public sealed class WaitForSignalInput
Inheritance
WaitForSignalInput
Inherited Members

Properties

AllowedRoles

Roles allowed to deliver this signal over the dashboard signal endpoint; the caller needs any one of them. Setting this (or AuthorizationPolicy) makes the signal restricted.

public string[]? AllowedRoles { get; set; }

Property Value

string[]

Remarks

Enforced by the dashboard's POST /api/runs/{runId}/signals/{signalName} endpoint, never by this handler and never by IFlowSignalDispatcher: an in-process caller is trusted, and the host owns authorization on that path. A restricted signal can only be delivered over HTTP by an identity authenticated through FlowDashboard:Authorization; Basic Auth and anonymous callers are refused, and the flow-operator role does not bypass the check.

Must be a static list in the manifest (no expressions), and the step's SignalName must then be static too, so the endpoint can tell which step a signal addresses before it writes anything. The dashboard validates both when it maps its endpoints.

AuthorizationPolicy

Name of an ASP.NET Core authorization policy (registered with AddAuthorization) the caller must satisfy to deliver this signal over the dashboard signal endpoint. When AllowedRoles is set as well, the caller must satisfy both.

public string? AuthorizationPolicy { get; set; }

Property Value

string

Remarks

Same enforcement point and static-value rule as AllowedRoles; an unregistered policy name fails when the dashboard maps its endpoints.

SignalName

Logical signal name addressed by callers when posting to the signal endpoint. Must be unique among the WaitForSignal steps active in the same run.

public string SignalName { get; set; }

Property Value

string

TimeoutSeconds

Maximum time to wait, in seconds. null or non-positive means wait indefinitely. When the deadline passes, the step transitions to Failed.

public int? TimeoutSeconds { get; set; }

Property Value

int?