Table of Contents

Class WorkflowOrchestratorResult

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

Result of the full detect-match-execute pipeline.

public sealed class WorkflowOrchestratorResult
Inheritance
WorkflowOrchestratorResult
Inherited Members

Properties

Advisory

public HistoryAdvisory? Advisory { get; init; }

Property Value

HistoryAdvisory

ExecutionResult

public WorkflowBridgeResult? ExecutionResult { get; init; }

Property Value

WorkflowBridgeResult

Intent

public IntentClassification Intent { get; init; }

Property Value

IntentClassification

Match

public WorkflowMatchResult? Match { get; init; }

Property Value

WorkflowMatchResult

Outcome

public WorkflowOutcome Outcome { get; init; }

Property Value

WorkflowOutcome

PlanningPrompt

public string? PlanningPrompt { get; init; }

Property Value

string

Methods

Executed(IntentClassification, WorkflowMatchResult, WorkflowBridgeResult, HistoryAdvisory?)

Workflow matched and executed successfully.

public static WorkflowOrchestratorResult Executed(IntentClassification intent, WorkflowMatchResult match, WorkflowBridgeResult result, HistoryAdvisory? advisory = null)

Parameters

intent IntentClassification
match WorkflowMatchResult
result WorkflowBridgeResult
advisory HistoryAdvisory

Returns

WorkflowOrchestratorResult

Failed(IntentClassification, WorkflowMatchResult, WorkflowBridgeResult, HistoryAdvisory?)

Workflow matched but execution failed.

public static WorkflowOrchestratorResult Failed(IntentClassification intent, WorkflowMatchResult match, WorkflowBridgeResult result, HistoryAdvisory? advisory = null)

Parameters

intent IntentClassification
match WorkflowMatchResult
result WorkflowBridgeResult
advisory HistoryAdvisory

Returns

WorkflowOrchestratorResult

PassThrough(IntentClassification)

Not a workflow — pass through to normal agent handling.

public static WorkflowOrchestratorResult PassThrough(IntentClassification intent)

Parameters

intent IntentClassification

Returns

WorkflowOrchestratorResult

PlanningNeeded(IntentClassification, string, HistoryAdvisory?)

Workflow detected but no catalog match — needs planning.

public static WorkflowOrchestratorResult PlanningNeeded(IntentClassification intent, string prompt, HistoryAdvisory? advisory = null)

Parameters

intent IntentClassification
prompt string
advisory HistoryAdvisory

Returns

WorkflowOrchestratorResult