Skip to main content

Interface: WorkflowRouteDryRunResponse

Defined in: packages/sdk/src/types/generated/task.ts:475

PHI-safe response shape for the route dry-run endpoint.

Fields: assignmentId / chatId — context the dry-run was executed under. sourceTaskId / sourceAssignmentTaskId — current Task/AssignmentTask resolved from the supplied chat context (after applying any current_task_id / current_assignment_task_id overrides). status — one of the :class:lib.services.cel_edge_evaluator.EdgeEvaluationStatus labels (e.g. "no_edges", "no_match", "would_transition", "matched_current_task", "missing_assignment_task", "transition_blocked", "error"). edgeCount — number of automatic-routing-candidate edges the evaluator considered. candidateChildTaskIds — Task IDs of every candidate edge the evaluator examined. winningChildTaskId — Task ID of the matched child Task, populated when status == "would_transition" or "matched_current_task" or "missing_assignment_task" or "transition_blocked". errorType — exception class name only when status == "error"; never the raw str(exc) message. issues — optional list of related AbilityConfigIssue entries (e.g. from the Workflow Health collectors) the caller may surface alongside the trace. The route may leave this empty in Phase 4; the field exists to keep the contract stable.

PHI guard (enforced by tests): raw CEL, Form values, Member values, Chat content, and str(exc) MUST NOT appear on this response.

Properties

assignmentId

assignmentId: number

Defined in: packages/sdk/src/types/generated/task.ts:476


candidateChildTaskIds?

optional candidateChildTaskIds: number[]

Defined in: packages/sdk/src/types/generated/task.ts:482


chatId

chatId: number

Defined in: packages/sdk/src/types/generated/task.ts:477


edgeCount

edgeCount: number

Defined in: packages/sdk/src/types/generated/task.ts:481


errorType?

optional errorType: string | null

Defined in: packages/sdk/src/types/generated/task.ts:484


issues?

optional issues: AbilityConfigIssue[]

Defined in: packages/sdk/src/types/generated/task.ts:485


sourceAssignmentTaskId?

optional sourceAssignmentTaskId: number | null

Defined in: packages/sdk/src/types/generated/task.ts:479


sourceTaskId?

optional sourceTaskId: number | null

Defined in: packages/sdk/src/types/generated/task.ts:478


status

status: string

Defined in: packages/sdk/src/types/generated/task.ts:480


winningChildTaskId?

optional winningChildTaskId: number | null

Defined in: packages/sdk/src/types/generated/task.ts:483