Table of Contents

Interface ITriggerContext

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

Combines IExecutionContext with the flow definition and the trigger event that started the run. Passed to TriggerFlow(ITriggerContext) and CreateEntrySteps(ITriggerContext) to bootstrap execution.

public interface ITriggerContext : IExecutionContext
Inherited Members
Extension Methods

Remarks

The runtime-specific job or message ID for the trigger is carried by JobId, which is set by the runtime adapter (e.g. the Hangfire shim) before invoking the engine.

Properties

Flow

The flow definition being triggered.

IFlowDefinition Flow { get; set; }

Property Value

IFlowDefinition

SourceRunId

Optional lineage pointer — when set, persisted on the new run as SourceRunId so the dashboard can render a link back to the original. Used by "Re-run all".

Guid? SourceRunId { get; set; }

Property Value

Guid?

Trigger

The trigger event that fired (key, type, payload, headers).

ITrigger Trigger { get; set; }

Property Value

ITrigger