Table of Contents

Class WorkflowBridgeResult

Namespace
JD.AI.Workflows
Assembly
JD.AI.Workflows.dll

Result of executing an agent workflow through the WorkflowBridge.

public sealed class WorkflowBridgeResult
Inheritance
WorkflowBridgeResult
Inherited Members

Properties

Duration

Total wall-clock duration of the workflow execution.

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

Errors

Errors collected during workflow execution.

public IReadOnlyList<string> Errors { get; init; }

Property Value

IReadOnlyList<string>

FinalOutput

The final output produced by the last step.

public string? FinalOutput { get; init; }

Property Value

string

StepOutputs

Outputs captured from each individual step, keyed by step name.

public IReadOnlyDictionary<string, string> StepOutputs { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Success

Whether the workflow completed successfully.

public bool Success { get; init; }

Property Value

bool