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

    Variable sysevent_email_templateConst

    sysevent_email_template: {
        allowWebServiceAccess: true;
        attributes: { update_synch: true };
        audit: true;
        display: "name";
        extends: "sys_metadata";
        label: "Email Template";
        name: "sysevent_email_template";
        schema: {
            collection: Typed<
                keyof Tables,
                {
                    attributes: { allow_public: true };
                    default: "incident";
                    label: "Table";
                },
            >;
            email_layout: Typed<
                | string
                | Record<"sys_email_layout">
                | ExplicitKey<"sys_email_layout">
                | TableBrand<"sys_email_layout">,
                {
                    attributes: { encode_utf8: false };
                    label: "Email layout";
                    referenceTable: "sys_email_layout";
                },
            >;
            message: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    dependent: "collection";
                    label: "Message";
                    maxLength: 4000;
                },
            >;
            message_html: Typed<
                string
                | number,
                {
                    attributes: { convert_urls: false };
                    columnType: "html_script";
                    dependent: "collection";
                    label: "Message HTML";
                    maxLength: 4000;
                },
            >;
            message_list: Typed<
                string
                | string[]
                | Record<"sys_push_notif_msg">[],
                {
                    attributes: {
                        array: "denormalized";
                        no_sort: true;
                        slushbucket_ref_no_expand: true;
                    };
                    label: "Push Messages";
                    maxLength: 1024;
                    referenceTable: "sys_push_notif_msg";
                },
            >;
            message_text: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    dependent: "collection";
                    label: "Message text";
                    maxLength: 4000;
                },
            >;
            name: Typed<string, { label: "Name"; mandatory: true }>;
            sms_alternate: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    dependent: "collection";
                    label: "SMS alternate";
                    maxLength: 8000;
                },
            >;
            subject: Typed<string, { label: "Subject"; maxLength: 100 }>;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            sys_version: Typed<
                string,
                {
                    default: "2";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Notification Version";
                            label: "Sys version";
                            language: "en";
                            plural: "Sys versions";
                        },
                    ];
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { update_synch: true }
    • Readonlyaudit: true
    • Readonlydisplay: "name"
    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "Email Template"
    • Readonlyname: "sysevent_email_template"
    • Readonlyschema: {
          collection: Typed<
              keyof Tables,
              {
                  attributes: { allow_public: true };
                  default: "incident";
                  label: "Table";
              },
          >;
          email_layout: Typed<
              | string
              | Record<"sys_email_layout">
              | ExplicitKey<"sys_email_layout">
              | TableBrand<"sys_email_layout">,
              {
                  attributes: { encode_utf8: false };
                  label: "Email layout";
                  referenceTable: "sys_email_layout";
              },
          >;
          message: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  dependent: "collection";
                  label: "Message";
                  maxLength: 4000;
              },
          >;
          message_html: Typed<
              string
              | number,
              {
                  attributes: { convert_urls: false };
                  columnType: "html_script";
                  dependent: "collection";
                  label: "Message HTML";
                  maxLength: 4000;
              },
          >;
          message_list: Typed<
              string
              | string[]
              | Record<"sys_push_notif_msg">[],
              {
                  attributes: {
                      array: "denormalized";
                      no_sort: true;
                      slushbucket_ref_no_expand: true;
                  };
                  label: "Push Messages";
                  maxLength: 1024;
                  referenceTable: "sys_push_notif_msg";
              },
          >;
          message_text: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  dependent: "collection";
                  label: "Message text";
                  maxLength: 4000;
              },
          >;
          name: Typed<string, { label: "Name"; mandatory: true }>;
          sms_alternate: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  dependent: "collection";
                  label: "SMS alternate";
                  maxLength: 8000;
              },
          >;
          subject: Typed<string, { label: "Subject"; maxLength: 100 }>;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          sys_version: Typed<
              string,
              {
                  default: "2";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Notification Version";
                          label: "Sys version";
                          language: "en";
                          plural: "Sys versions";
                      },
                  ];
              },
          >;
      }
    • ReadonlytextIndex: true