Sanity Library Reference Docs
    Preparing search index...
    • Explain the whole workflow in human language, without an instance: every condition site phrased against an EMPTY scope, in the workflow vocabulary. Outcome marks are placeholders (no values to judge) — the checklists and summaries carry the "what this needs" story; live verdicts come from evaluation insight where a run's current stage overlaps these addresses.

      Parameters

      • definition: {
            description?: string;
            fields?: FieldEntry[];
            groups?: Group[];
            initialStage: string;
            lifecycle?: WorkflowLifecycle;
            name: string;
            predicates?: Record<string, string>;
            roleAliases?: RoleAliases;
            semantics?: Semantic[];
            stages: Stage[];
            start?: StartBlock;
            title: string;
        }

      Returns Promise<DescribedDefinitionSite[]>