@servicenow/sdk - v4.7.0
    Preparing search index...

    Interface DecisionBranch<TTargets>

    Decision branch configuration Defines a conditional path to a target tool Generic over TTargets for type-safe target references

    interface DecisionBranch<TTargets extends string = string> {
        condition: DecisionCondition;
        name: string;
        to: TTargets;
    }

    Type Parameters

    • TTargets extends string = string
    Index

    Properties

    Properties

    Condition that determines if this branch is taken

    name: string

    Branch name for identification

    Target tool to route to when condition matches Type-safe: only allows values from the Decision's targets array