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

    Default values applied when a connection or credential is created from an AliasTemplate.

    Top-level keys are typically connection and credential, each containing default values for their respective fields plus a table key indicating the backing ServiceNow table and a name for the record.

    type DefaultDataTemplate = {
        additional?: { [key: string]: unknown };
        connection?: {
            connectionUrl?: string;
            host?: string;
            name: string;
            table: ConnectionType;
            useMid?: boolean;
            [key: string]: unknown;
        };
        credential?: {
            name?: string;
            table: CredentialType;
            [key: string]: unknown;
        };
    }
    Index

    Properties

    additional?: { [key: string]: unknown }

    Optionally creates records in a custom table. The postProcessScript tells the system what to do with these records.

    connection?: {
        connectionUrl?: string;
        host?: string;
        name: string;
        table: ConnectionType;
        useMid?: boolean;
        [key: string]: unknown;
    }

    Creates a record in the Connection table.

    Type Declaration

    • [key: string]: unknown

      Additional values for the connection record.

    • OptionalconnectionUrl?: string

      Default connection URL.

    • Optionalhost?: string

      Hostname for the connection.

    • name: string

      Default display name for the connection.

    • table: ConnectionType

      Backing connection table.

    • OptionaluseMid?: boolean

      Whether to use a MID server for outbound requests.

      false
      
    credential?: { name?: string; table: CredentialType; [key: string]: unknown }

    Creates a record in the Credentials table.

    Type Declaration

    • [key: string]: unknown

      Additional values for the credential record.

    • Optionalname?: string

      Default display name for the credential.

    • table: CredentialType