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

    Variable sys_retry_policyConst

    sys_retry_policy: {
        allowWebServiceAccess: true;
        extends: "sys_metadata";
        label: "Retry Policy";
        name: "sys_retry_policy";
        schema: {
            condition: Typed<
                string,
                {
                    dependent: "connection_type";
                    label: "Conditions";
                    mandatory: false;
                    maxLength: 4000;
                },
            >;
            connection_type: Typed<
                | "http_retry_conditions"
                | "jdbc_retry_conditions"
                | "basic_retry_conditions",
                {
                    attributes: { edge_encryption_enabled: true };
                    choices: {
                        basic_retry_conditions: { label: "Basic(SFTP)"; sequence: 0 };
                        http_retry_conditions: { label: "HTTP"; sequence: 0 };
                        jdbc_retry_conditions: { label: "JDBC"; sequence: 0 };
                    };
                    default: "http_retry_conditions";
                    label: "Connection Type";
                    mandatory: false;
                    maxLength: 40;
                },
            >;
            count: Typed<number, { label: "Count"; mandatory: false }>;
            interval: Typed<
                string
                | number,
                {
                    column_type: "long";
                    label: "Interval (seconds)";
                    mandatory: false;
                    maxLength: 40;
                },
            >;
            max_elapsed_time: Typed<
                number,
                { label: "Max Elapsed Time (seconds)"; mandatory: false },
            >;
            name: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    label: "Name";
                    mandatory: false;
                    maxLength: 40;
                },
            >;
            restrict_to: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    default: "http_method,status_code,error,response_body,response_headers";
                    label: "Restrict To";
                    mandatory: false;
                    maxLength: 120;
                },
            >;
            retry_strategy: Typed<
                "fixed_time_interval"
                | "exponential_backoff"
                | "retry_after",
                {
                    attributes: { edge_encryption_enabled: true };
                    choices: {
                        exponential_backoff: { label: "Exponential Backoff"; sequence: 0 };
                        fixed_time_interval: { label: "Fixed Interval"; sequence: 0 };
                        retry_after: { label: "Honor \"Retry-After\" Header"; sequence: 0 };
                    };
                    default: "fixed_time_interval";
                    label: "Retry Strategy";
                    mandatory: false;
                    maxLength: 40;
                },
            >;
            sys_id: Typed<
                string
                | number,
                { column_type: "GUID"; label: "Sys ID"; mandatory: false },
            >;
        };
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "Retry Policy"
    • Readonlyname: "sys_retry_policy"
    • Readonlyschema: {
          condition: Typed<
              string,
              {
                  dependent: "connection_type";
                  label: "Conditions";
                  mandatory: false;
                  maxLength: 4000;
              },
          >;
          connection_type: Typed<
              | "http_retry_conditions"
              | "jdbc_retry_conditions"
              | "basic_retry_conditions",
              {
                  attributes: { edge_encryption_enabled: true };
                  choices: {
                      basic_retry_conditions: { label: "Basic(SFTP)"; sequence: 0 };
                      http_retry_conditions: { label: "HTTP"; sequence: 0 };
                      jdbc_retry_conditions: { label: "JDBC"; sequence: 0 };
                  };
                  default: "http_retry_conditions";
                  label: "Connection Type";
                  mandatory: false;
                  maxLength: 40;
              },
          >;
          count: Typed<number, { label: "Count"; mandatory: false }>;
          interval: Typed<
              string
              | number,
              {
                  column_type: "long";
                  label: "Interval (seconds)";
                  mandatory: false;
                  maxLength: 40;
              },
          >;
          max_elapsed_time: Typed<
              number,
              { label: "Max Elapsed Time (seconds)"; mandatory: false },
          >;
          name: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  label: "Name";
                  mandatory: false;
                  maxLength: 40;
              },
          >;
          restrict_to: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  default: "http_method,status_code,error,response_body,response_headers";
                  label: "Restrict To";
                  mandatory: false;
                  maxLength: 120;
              },
          >;
          retry_strategy: Typed<
              "fixed_time_interval"
              | "exponential_backoff"
              | "retry_after",
              {
                  attributes: { edge_encryption_enabled: true };
                  choices: {
                      exponential_backoff: { label: "Exponential Backoff"; sequence: 0 };
                      fixed_time_interval: { label: "Fixed Interval"; sequence: 0 };
                      retry_after: { label: "Honor \"Retry-After\" Header"; sequence: 0 };
                  };
                  default: "fixed_time_interval";
                  label: "Retry Strategy";
                  mandatory: false;
                  maxLength: 40;
              },
          >;
          sys_id: Typed<
              string
              | number,
              { column_type: "GUID"; label: "Sys ID"; mandatory: false },
          >;
      }