@servicenow/sdk - v4.7.0
    Preparing search index...
    • Create a record in any table. This is a low-level function typically used as a fallback when the specific record type or metadata does not have its own dedicated API. When possible, prefer using other, dedicated APIs to generate metadata as those APIs will often have better type safety and will be easier to use.

      Type Parameters

      Parameters

      • record: R & { $id: string | number | ExplicitKey<string> } & { data: Data<T>; table: T } & Meta

        an object containing the following properties:

        • $id - unique id for the record, typically using Now.ID["value"]
        • table - the name of the table to which the record belongs
        • data - fields and their values in the table
        • data: Data<T>

          Fields and their values in the table.

        • table: T

          The table to which the record belongs.

      Returns R