Skip to main content

PathSelection

@gravity-rail/sdk


@gravity-rail/sdk / PathSelection

Interface: PathSelection

Who selects a Path, why, and how competing matches are resolved.

Properties​

choicePrompt​

choicePrompt: string | null


condition​

condition: null

Nullable​


mode​

mode: PathSelectionMode


outcome​

outcome: string | null


policy​

policy: PathSelectionPolicy


priority​

priority: number | null


routing?​

optional routing: OutcomeTaskRouting | MatchTaskRouting | ConditionTaskRouting | { kind: "otherwise"; } | null


rule​

rule: PathSelectionRule