Table of Contents

Class WorkflowCompletedEventArgs

Namespace
WorkflowForge.Events
Assembly
WorkflowForge.dll

Event arguments for workflow completed events. Fired when a workflow completes successfully.

public sealed class WorkflowCompletedEventArgs : BaseWorkflowForgeEventArgs
Inheritance
WorkflowCompletedEventArgs
Inherited Members

Constructors

WorkflowCompletedEventArgs(IWorkflowFoundry, DateTimeOffset, IReadOnlyDictionary<string, object?>, TimeSpan)

Initializes a new instance of the WorkflowCompletedEventArgs class.

public WorkflowCompletedEventArgs(IWorkflowFoundry foundry, DateTimeOffset completedAt, IReadOnlyDictionary<string, object?> finalProperties, TimeSpan duration)

Parameters

foundry IWorkflowFoundry

The workflow foundry.

completedAt DateTimeOffset

The completion timestamp.

finalProperties IReadOnlyDictionary<string, object>

The final properties from the foundry.

duration TimeSpan

The total execution duration.

Properties

CompletedAt

Gets the timestamp when the workflow completed.

public DateTimeOffset CompletedAt { get; }

Property Value

DateTimeOffset

Duration

Gets the total execution duration.

public TimeSpan Duration { get; }

Property Value

TimeSpan

FinalProperties

Gets the final foundry properties at completion.

public IReadOnlyDictionary<string, object?> FinalProperties { get; }

Property Value

IReadOnlyDictionary<string, object>