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

    Variable dl_definitionConst

    dl_definition: {
        allowWebServiceAccess: true;
        attributes: {
            "all_tables.text_index_translations": true;
            update_synch: true;
        };
        extends: "sys_metadata";
        extensible: true;
        label: "Data Lookup Definitions";
        name: "dl_definition";
        schema: {
            active: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "Specifies whether lookup/replacements will occur.";
                            label: "Active";
                            plural: "Active";
                        },
                    ];
                },
            >;
            matcher_table: Typed<
                keyof Tables,
                {
                    attributes: {
                        base_start: true;
                        base_table: "dl_matcher";
                        skip_root: true;
                    };
                    label: [
                        {
                            hint: "Specifies the table for which new/modified records will be matched against.";
                            label: "Matcher Table";
                            plural: "Matcher Tables";
                        },
                    ];
                    mandatory: true;
                    tableReference: true;
                },
            >;
            name: Typed<string, { label: "Name"; mandatory: true }>;
            run_on_form_change: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "Perform data lookup on forms whose value changes that match this definition.";
                            label: "Run on form change";
                            plural: "Run on form changes";
                        },
                    ];
                },
            >;
            run_on_insert: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "Perform data lookup for records being inserted that match this definition.";
                            label: "Run on insert";
                            plural: "Run on inserts";
                        },
                    ];
                },
            >;
            run_on_update: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Perform data lookup for records being updated that match this definition.";
                            label: "Run on update";
                            plural: "Run on updates";
                        },
                    ];
                },
            >;
            source_table: Typed<
                keyof Tables,
                {
                    attributes: { base_start: true };
                    label: [
                        {
                            hint: "Specifies the table for which new/modified records will be matched from.";
                            label: "Source Table";
                            plural: "Source Tables";
                        },
                    ];
                    mandatory: true;
                    tableReference: true;
                },
            >;
            sys_id: Typed<
                string,
                { label: [{ label: "Sys ID"; plural: "Sys IDs" }]; primary: true },
            >;
        };
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { "all_tables.text_index_translations": true; update_synch: true }
    • Readonlyextends: "sys_metadata"
    • Readonlyextensible: true
    • Readonlylabel: "Data Lookup Definitions"
    • Readonlyname: "dl_definition"
    • Readonlyschema: {
          active: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "Specifies whether lookup/replacements will occur.";
                          label: "Active";
                          plural: "Active";
                      },
                  ];
              },
          >;
          matcher_table: Typed<
              keyof Tables,
              {
                  attributes: {
                      base_start: true;
                      base_table: "dl_matcher";
                      skip_root: true;
                  };
                  label: [
                      {
                          hint: "Specifies the table for which new/modified records will be matched against.";
                          label: "Matcher Table";
                          plural: "Matcher Tables";
                      },
                  ];
                  mandatory: true;
                  tableReference: true;
              },
          >;
          name: Typed<string, { label: "Name"; mandatory: true }>;
          run_on_form_change: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "Perform data lookup on forms whose value changes that match this definition.";
                          label: "Run on form change";
                          plural: "Run on form changes";
                      },
                  ];
              },
          >;
          run_on_insert: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "Perform data lookup for records being inserted that match this definition.";
                          label: "Run on insert";
                          plural: "Run on inserts";
                      },
                  ];
              },
          >;
          run_on_update: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Perform data lookup for records being updated that match this definition.";
                          label: "Run on update";
                          plural: "Run on updates";
                      },
                  ];
              },
          >;
          source_table: Typed<
              keyof Tables,
              {
                  attributes: { base_start: true };
                  label: [
                      {
                          hint: "Specifies the table for which new/modified records will be matched from.";
                          label: "Source Table";
                          plural: "Source Tables";
                      },
                  ];
                  mandatory: true;
                  tableReference: true;
              },
          >;
          sys_id: Typed<
              string,
              { label: [{ label: "Sys ID"; plural: "Sys IDs" }]; primary: true },
          >;
      }