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

    Variable sys_scriptConst

    sys_script: {
        name: "sys_script";
        schema: {
            abort_action: Typed<boolean, { mandatory: false }>;
            access: Typed<
                "public"
                | "package_private",
                {
                    choices: { package_private: "package_private"; public: "public" };
                    mandatory: false;
                },
            >;
            action_delete: Typed<boolean, {}>;
            action_insert: Typed<boolean, {}>;
            action_query: Typed<boolean, {}>;
            action_update: Typed<boolean, {}>;
            active: Typed<
                boolean,
                { default: true; mandatory: false; read_only: true },
            >;
            add_message: Typed<boolean, {}>;
            advanced: Typed<boolean, { mandatory: false }>;
            change_fields: Typed<boolean, { mandatory: false }>;
            client_callable: Typed<boolean, { mandatory: false }>;
            collection: Typed<keyof Tables, { mandatory: true }>;
            condition: Typed<string, { mandatory: false }>;
            description: Typed<string, { mandatory: false }>;
            execute_function: Typed<boolean, { mandatory: false }>;
            filter_condition: Typed<string, { mandatory: false }>;
            is_rest: Typed<boolean, { mandatory: false }>;
            message: Typed<string, { mandatory: false }>;
            name: Typed<string, { mandatory: true }>;
            order: Typed<number, { default: 100; mandatory: false }>;
            priority: Typed<number, { mandatory: false }>;
            rest_method: Typed<
                | string
                | Record<"sys_rest_message_fn">
                | ExplicitKey<"sys_rest_message_fn">
                | TableBrand<"sys_rest_message_fn">,
                { mandatory: false; referenceTable: "sys_rest_message_fn" },
            >;
            rest_method_text: Typed<string, { mandatory: false }>;
            rest_service: Typed<
                | string
                | Record<"sys_rest_message">
                | ExplicitKey<"sys_rest_message">
                | TableBrand<"sys_rest_message">,
                { mandatory: false; referenceTable: "sys_rest_message" },
            >;
            rest_service_text: Typed<string, { mandatory: false }>;
            rest_variables: Typed<string, { mandatory: false }>;
            role_conditions: Typed<string, { mandatory: false }>;
            script: Typed<string | ScriptModule<Function>, {}>;
            sys_domain: Typed<Record<"domain"> | "global", { mandatory: false }>;
            sys_domain_path: Typed<string, { mandatory: false }>;
            sys_overrides: Typed<
                | string
                | Record<"sys_script">
                | ExplicitKey<"sys_script">
                | TableBrand<"sys_script">,
                { mandatory: false; referenceTable: "sys_script" },
            >;
            template: Typed<string, { mandatory: false }>;
            when: Typed<
                "before"
                | "after"
                | "async"
                | "async_always"
                | "before_display",
                {
                    choices: {
                        after: "after";
                        async: "async";
                        async_always: "async_always";
                        before: "before";
                        before_display: "before_display";
                    };
                },
            >;
        };
    } = ...

    Type Declaration

    • Readonlyname: "sys_script"
    • Readonlyschema: {
          abort_action: Typed<boolean, { mandatory: false }>;
          access: Typed<
              "public"
              | "package_private",
              {
                  choices: { package_private: "package_private"; public: "public" };
                  mandatory: false;
              },
          >;
          action_delete: Typed<boolean, {}>;
          action_insert: Typed<boolean, {}>;
          action_query: Typed<boolean, {}>;
          action_update: Typed<boolean, {}>;
          active: Typed<
              boolean,
              { default: true; mandatory: false; read_only: true },
          >;
          add_message: Typed<boolean, {}>;
          advanced: Typed<boolean, { mandatory: false }>;
          change_fields: Typed<boolean, { mandatory: false }>;
          client_callable: Typed<boolean, { mandatory: false }>;
          collection: Typed<keyof Tables, { mandatory: true }>;
          condition: Typed<string, { mandatory: false }>;
          description: Typed<string, { mandatory: false }>;
          execute_function: Typed<boolean, { mandatory: false }>;
          filter_condition: Typed<string, { mandatory: false }>;
          is_rest: Typed<boolean, { mandatory: false }>;
          message: Typed<string, { mandatory: false }>;
          name: Typed<string, { mandatory: true }>;
          order: Typed<number, { default: 100; mandatory: false }>;
          priority: Typed<number, { mandatory: false }>;
          rest_method: Typed<
              | string
              | Record<"sys_rest_message_fn">
              | ExplicitKey<"sys_rest_message_fn">
              | TableBrand<"sys_rest_message_fn">,
              { mandatory: false; referenceTable: "sys_rest_message_fn" },
          >;
          rest_method_text: Typed<string, { mandatory: false }>;
          rest_service: Typed<
              | string
              | Record<"sys_rest_message">
              | ExplicitKey<"sys_rest_message">
              | TableBrand<"sys_rest_message">,
              { mandatory: false; referenceTable: "sys_rest_message" },
          >;
          rest_service_text: Typed<string, { mandatory: false }>;
          rest_variables: Typed<string, { mandatory: false }>;
          role_conditions: Typed<string, { mandatory: false }>;
          script: Typed<string | ScriptModule<Function>, {}>;
          sys_domain: Typed<Record<"domain"> | "global", { mandatory: false }>;
          sys_domain_path: Typed<string, { mandatory: false }>;
          sys_overrides: Typed<
              | string
              | Record<"sys_script">
              | ExplicitKey<"sys_script">
              | TableBrand<"sys_script">,
              { mandatory: false; referenceTable: "sys_script" },
          >;
          template: Typed<string, { mandatory: false }>;
          when: Typed<
              "before"
              | "after"
              | "async"
              | "async_always"
              | "before_display",
              {
                  choices: {
                      after: "after";
                      async: "async";
                      async_always: "async_always";
                      before: "before";
                      before_display: "before_display";
                  };
              },
          >;
      }