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

    Interface Record<T>

    interface Record<T extends TableName = TableName> {
        $id: string | number | ExplicitKey<string>;
        $meta?: {
            installMethod?: "first install" | "demo" | "once";
            useEsLatest?: boolean;
        };
        data: Data<T>;
        table: T;
    }

    Type Parameters

    Index

    Properties

    Properties

    $id: string | number | ExplicitKey<string>
    $meta?: {
        installMethod?: "first install" | "demo" | "once";
        useEsLatest?: boolean;
    }

    Type Declaration

    • OptionalinstallMethod?: "first install" | "demo" | "once"

      Map a record to an output folder that loads only in specific circumstances. 'first install' -> 'unload' (only loaded when plugin is first registered), 'demo' -> 'unload.demo' (only loaded when demo data is loaded), 'once' -> 'apply_once' (scripts that are only applied once)

    • OptionaluseEsLatest?: boolean

      Controls whether this record's server-side script field(s) run with the latest supported ECMAScript version rather than the application's default. Omit to leave the sys_app/now.config default in place. This setting applies to all fields defined for this entity

    data: Data<T>

    Fields and their values in the table.

    table: T

    The table to which the record belongs.