Table of Contents

Interface ITrigger

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

Represents the event that started a flow run, providing the payload and metadata that are persisted and made available to steps via expression resolution.

public interface ITrigger

Properties

Data

The trigger payload supplied at fire time (e.g. the parsed JSON body of a webhook request). Stored as trigger data for the run and accessible via @triggerBody() expressions.

object? Data { get; }

Property Value

object

Headers

HTTP headers from the inbound request, or null for non-HTTP triggers. Accessible via @triggerHeaders() expressions.

IReadOnlyDictionary<string, string>? Headers { get; }

Property Value

IReadOnlyDictionary<string, string>

Key

The manifest key of the trigger definition that was fired (e.g. "schedule", "webhook").

string Key { get; }

Property Value

string

Type

The trigger type name (e.g. "Cron", "Manual", "Webhook").

string Type { get; }

Property Value

string