Sanity Library Reference Docs
    Preparing search index...
    • Which in-flight workflow instances reference this document — live. The document must be a resource-qualified GDR URI (a bare id can't be resource-routed). Matching means "in the instance's reactive watch-set" (instanceWatchesDocument): the instance itself, its ancestors, and the docs its workflow-scope / open-stage doc.ref/subject/doc.refs/release.ref fields name — the same rule the engine's instancesForDocument applies.

      Parameters

      • __namedParameters: {
            document:
                | `dataset:${string}`
                | `canvas:${string}`
                | `media-library:${string}`
                | `dashboard:${string}`;
            engine: Engine;
            observer: WorkflowObserver;
        }

      Returns WorkflowInstanceList