Sanity Library Reference Docs
    Preparing search index...
    Transition: { description?: string; name: string; title?: string; to: string } & {
        when: string;
    }

    A one-way route to another stage, without operations or effects. Selection checks when conditions in declaration order. The first satisfied condition fires; an earlier unevaluable condition, such as GROQ null, stops selection without considering later routes. A false condition permits the next route.

    Actions write routing decisions into fields; transitions read that state. Source-stage triggered actions run before transition selection. Arrival work belongs to a triggered action in a nonterminal destination stage.