Class ExecutionContext
- Namespace
- FlowOrchestrator.Core.Execution
- Assembly
- FlowOrchestrator.Core.dll
Default mutable implementation of IExecutionContext.
Constructed by HangfireFlowOrchestrator and passed through the step execution pipeline.
public sealed class ExecutionContext : IExecutionContext
- Inheritance
-
ExecutionContext
- Implements
- Inherited Members
- Extension Methods
Properties
JobId
Runtime-specific job or message identifier for the current execution unit (Hangfire job ID, queue message ID, etc.). Set by the runtime adapter before invoking the engine. Stored on the run and step records for correlation with the runtime's own dashboard.
public string? JobId { get; set; }
Property Value
PrincipalId
Identity of the caller that triggered the run, or null if anonymous. Sourced from the authentication principal at trigger time.
public string? PrincipalId { get; set; }
Property Value
RunId
Unique identifier for this flow run, generated at trigger time.
public Guid RunId { get; set; }
Property Value
TriggerData
Deserialized body of the trigger payload (e.g. the webhook request body or manual trigger data).
Available to steps via @triggerBody() expressions.
public object? TriggerData { get; set; }
Property Value
TriggerHeaders
HTTP headers from the inbound trigger request, or null for non-HTTP triggers.
Available to steps via @triggerHeaders() expressions.
public IReadOnlyDictionary<string, string>? TriggerHeaders { get; set; }