Sanity Library Reference Docs
    Preparing search index...

    Who may abort a running instance through abortInstance. filter is the stored form of the authored roles and gates the verb exactly as an action's filter gates fireAction: a caller it does not admit is refused with AbortDeniedError, Administrators included. An absent block lets anyone who can write the instance abort it. The roles decide who may abort this instance directly. When a parent workflow aborts or moves on with onExit: 'abort', its subworkflows stop under the parent's rules, because the parent owns them. The instances deleteDefinition aborts with cascade are not checked either. Unlike start.filter, which only controls discovery, this filter refuses the verb.

    interface AbortBlock {
        filter: string;
    }
    Index

    Properties

    Properties

    filter: string