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

    Variable change_requestConst

    change_request: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        attributes: { email_client: true; hasWorkflow: true; live_feed: true };
        audit: true;
        autoNumber: { number: 30000; prefix: "CHG" };
        extends: "task";
        extensible: true;
        label: "Change Request";
        licensingConfig: {
            licenseCondition: "opened_byISNOTEMPTY^EQ";
            licenseModel: "fulfiller";
        };
        liveFeed: true;
        name: "change_request";
        schema: {
            backout_plan: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Enter steps to revert the change to its state prior to implementation. Include information regarding when the change can be backed out during implementation and if the change window includes time to backout";
                            label: "Backout plan";
                            language: "en";
                            plural: "Backout plans";
                        },
                    ];
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            cab_date: Typed<
                `${number}-${number}-${number}`,
                {
                    active: false;
                    label: [
                        {
                            hint: "Enter the date of the CAB meeting";
                            label: "CAB date";
                            language: "en";
                            plural: "CAB dates";
                        },
                    ];
                },
            >;
            cab_date_time: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    label: [
                        {
                            hint: "Enter the date and time of the CAB meeting";
                            label: "CAB date/time";
                            language: "en";
                            plural: "CAB date/times";
                        },
                    ];
                },
            >;
            cab_delegate: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    label: [
                        {
                            hint: "Identify a delegate to attend CAB in place of the assignee";
                            label: "CAB delegate";
                            language: "en";
                            plural: "CAB delegates";
                        },
                    ];
                    referenceQual: "roles=itil^ORroles=sn_change_read";
                    referenceTable: "sys_user";
                },
            >;
            cab_recommendation: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Enter recommendation notes from the CAB";
                            label: "CAB recommendation";
                            language: "en";
                            plural: "CAB recommendations";
                        },
                    ];
                    maxLength: 4000;
                },
            >;
            cab_required: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "CAB approval is needed for this change request";
                            label: "CAB required";
                            language: "en";
                            plural: "CAB required";
                        },
                    ];
                },
            >;
            category: Typed<
                string,
                { default: "Other"; dropdown: "dropdown_with_none"; label: "Category" },
            >;
            change_plan: Typed<
                string,
                { label: "Change plan"; maxLength: 4000; spellCheck: true },
            >;
            chg_model: Typed<
                | string
                | Record<"chg_model">
                | ExplicitKey<"chg_model">
                | TableBrand<"chg_model">,
                {
                    attributes: { encode_utf8: false };
                    default: "javascript:ChangeModel.getDefaultModelValue(current);";
                    label: "Model";
                    referenceQual: "javascript: ChangeModel.getRefQualForChangeRequest(current);";
                    referenceTable: "chg_model";
                },
            >;
            close_code: Typed<
                string,
                { dropdown: "dropdown_with_none"; label: "Close code" },
            >;
            conflict_last_run: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    label: "Conflict last run";
                    readOnly: true;
                    readOnlyOption: "instance_configured";
                },
            >;
            conflict_status: Typed<
                "Not Run"
                | "Conflict"
                | "No Conflict",
                {
                    choices: {
                        Conflict: { label: "Conflict"; sequence: 0 };
                        "No Conflict": { label: "No Conflict"; sequence: 1 };
                        "Not Run": { label: "Not Run"; sequence: -1 };
                    };
                    default: "Not Run";
                    dropdown: "dropdown_with_none";
                    label: "Conflict status";
                    readOnly: true;
                    readOnlyOption: "instance_configured";
                },
            >;
            copied_from: Typed<
                | string
                | Record<"change_request">
                | ExplicitKey<"change_request">
                | TableBrand<"change_request">,
                {
                    attributes: { encode_utf8: false };
                    label: "Copied from";
                    referenceTable: "change_request";
                },
            >;
            end_date: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: "Planned end date" },
            >;
            implementation_plan: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Enter sequential steps to implement this change. In addition, enter dependencies between steps and assignee details for each step";
                            label: "Implementation plan";
                            language: "en";
                            plural: "Implementation plans";
                        },
                    ];
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            justification: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Enter benefits of implementing this change and impact if this change is not implemented";
                            label: "Justification";
                            language: "en";
                            plural: "Justifications";
                        },
                    ];
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            on_hold: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Indicates the Change Request is on hold";
                            label: "On hold";
                            language: "en";
                            plural: "On holds";
                        },
                    ];
                },
            >;
            on_hold_reason: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Provide the reason for putting the Change Request on hold";
                            label: "On hold reason";
                            language: "en";
                            plural: "On hold reasons";
                        },
                    ];
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            on_hold_task: Typed<
                string
                | string[]
                | Record<"change_task">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: [
                        {
                            hint: "Change Tasks that have been placed on hold by the change";
                            label: "On Hold Change Tasks";
                            language: "en";
                            plural: "On Hold Change Tasks";
                        },
                    ];
                    referenceTable: "change_task";
                },
            >;
            outside_maintenance_schedule: Typed<
                boolean,
                { label: "Outside maintenance schedule" },
            >;
            phase: Typed<
                string,
                {
                    default: "requested";
                    dependent: "category";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Dependent on Category value";
                            label: "Phase";
                            language: "en";
                            plural: "Phases";
                        },
                    ];
                },
            >;
            phase_state: Typed<
                string,
                {
                    default: "open";
                    dependent: "phase";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Dependent on Phase value";
                            label: "Phase state";
                            language: "en";
                            plural: "Phase states";
                        },
                    ];
                },
            >;
            production_system: Typed<boolean, { label: "Production system" }>;
            reason: Typed<string, { dropdown: "dropdown_with_none"; label: "Reason" }>;
            requested_by: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    default: "javascript:gs.getUserID()";
                    label: "Requested by";
                    referenceTable: "sys_user";
                },
            >;
            requested_by_date: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: "Requested by date" },
            >;
            review_comments: Typed<
                string,
                { label: "Review comments"; maxLength: 4000; spellCheck: true },
            >;
            review_date: Typed<
                `${number}-${number}-${number}`,
                { label: "Review date" },
            >;
            review_status: Typed<
                number,
                { dropdown: "dropdown_with_none"; label: "Review status" },
            >;
            risk: Typed<
                number,
                {
                    attributes: { field_decorations: "change_risk_details" };
                    dropdown: "dropdown_with_none";
                    label: [{ label: "Risk"; language: "en"; plural: "Risk" }];
                },
            >;
            risk_impact_analysis: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Enter potential risks and impact associated with this change. Include impact details if this change implementation is unsuccessful";
                            label: "Risk and impact analysis";
                            language: "en";
                            plural: "Risk and impact analysis";
                        },
                    ];
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            scope: Typed<
                number,
                {
                    default: "3";
                    dropdown: "dropdown_with_none";
                    label: [{ label: "Scope"; language: "en"; plural: "Scope" }];
                },
            >;
            start_date: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: "Planned start date" },
            >;
            std_change_producer_version: Typed<
                | string
                | Record<"std_change_producer_version">
                | ExplicitKey<"std_change_producer_version">
                | TableBrand<"std_change_producer_version">,
                {
                    attributes: { encode_utf8: false };
                    label: "Standard Change Template version";
                    readOnly: true;
                    readOnlyOption: "instance_configured";
                    referenceTable: "std_change_producer_version";
                },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            test_plan: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Enter details of planned and completed tests prior to implementation that indicate the potential success of this change. Enter details of planned post-implementation tests to confirm success of this change";
                            label: "Test plan";
                            language: "en";
                            plural: "Test plans";
                        },
                    ];
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            type: Typed<
                string,
                {
                    default: "javascript:ChangeModel.getDefaultTypeValue();";
                    dropdown: "dropdown_with_none";
                    label: [{ label: "Type"; language: "en"; plural: "Type" }];
                },
            >;
            unauthorized: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "Change activity detected without prior authorization. To unset this field create an Outage of type Outage or Degradation.";
                            label: "Unauthorized";
                            language: "en";
                            plural: "Unauthorized";
                        },
                    ];
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { email_client: true; hasWorkflow: true; live_feed: true }
    • Readonlyaudit: true
    • ReadonlyautoNumber: { number: 30000; prefix: "CHG" }
    • Readonlyextends: "task"
    • Readonlyextensible: true
    • Readonlylabel: "Change Request"
    • ReadonlylicensingConfig: { licenseCondition: "opened_byISNOTEMPTY^EQ"; licenseModel: "fulfiller" }
    • ReadonlyliveFeed: true
    • Readonlyname: "change_request"
    • Readonlyschema: {
          backout_plan: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Enter steps to revert the change to its state prior to implementation. Include information regarding when the change can be backed out during implementation and if the change window includes time to backout";
                          label: "Backout plan";
                          language: "en";
                          plural: "Backout plans";
                      },
                  ];
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          cab_date: Typed<
              `${number}-${number}-${number}`,
              {
                  active: false;
                  label: [
                      {
                          hint: "Enter the date of the CAB meeting";
                          label: "CAB date";
                          language: "en";
                          plural: "CAB dates";
                      },
                  ];
              },
          >;
          cab_date_time: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  label: [
                      {
                          hint: "Enter the date and time of the CAB meeting";
                          label: "CAB date/time";
                          language: "en";
                          plural: "CAB date/times";
                      },
                  ];
              },
          >;
          cab_delegate: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  label: [
                      {
                          hint: "Identify a delegate to attend CAB in place of the assignee";
                          label: "CAB delegate";
                          language: "en";
                          plural: "CAB delegates";
                      },
                  ];
                  referenceQual: "roles=itil^ORroles=sn_change_read";
                  referenceTable: "sys_user";
              },
          >;
          cab_recommendation: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Enter recommendation notes from the CAB";
                          label: "CAB recommendation";
                          language: "en";
                          plural: "CAB recommendations";
                      },
                  ];
                  maxLength: 4000;
              },
          >;
          cab_required: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "CAB approval is needed for this change request";
                          label: "CAB required";
                          language: "en";
                          plural: "CAB required";
                      },
                  ];
              },
          >;
          category: Typed<
              string,
              { default: "Other"; dropdown: "dropdown_with_none"; label: "Category" },
          >;
          change_plan: Typed<
              string,
              { label: "Change plan"; maxLength: 4000; spellCheck: true },
          >;
          chg_model: Typed<
              | string
              | Record<"chg_model">
              | ExplicitKey<"chg_model">
              | TableBrand<"chg_model">,
              {
                  attributes: { encode_utf8: false };
                  default: "javascript:ChangeModel.getDefaultModelValue(current);";
                  label: "Model";
                  referenceQual: "javascript: ChangeModel.getRefQualForChangeRequest(current);";
                  referenceTable: "chg_model";
              },
          >;
          close_code: Typed<
              string,
              { dropdown: "dropdown_with_none"; label: "Close code" },
          >;
          conflict_last_run: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  label: "Conflict last run";
                  readOnly: true;
                  readOnlyOption: "instance_configured";
              },
          >;
          conflict_status: Typed<
              "Not Run"
              | "Conflict"
              | "No Conflict",
              {
                  choices: {
                      Conflict: { label: "Conflict"; sequence: 0 };
                      "No Conflict": { label: "No Conflict"; sequence: 1 };
                      "Not Run": { label: "Not Run"; sequence: -1 };
                  };
                  default: "Not Run";
                  dropdown: "dropdown_with_none";
                  label: "Conflict status";
                  readOnly: true;
                  readOnlyOption: "instance_configured";
              },
          >;
          copied_from: Typed<
              | string
              | Record<"change_request">
              | ExplicitKey<"change_request">
              | TableBrand<"change_request">,
              {
                  attributes: { encode_utf8: false };
                  label: "Copied from";
                  referenceTable: "change_request";
              },
          >;
          end_date: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: "Planned end date" },
          >;
          implementation_plan: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Enter sequential steps to implement this change. In addition, enter dependencies between steps and assignee details for each step";
                          label: "Implementation plan";
                          language: "en";
                          plural: "Implementation plans";
                      },
                  ];
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          justification: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Enter benefits of implementing this change and impact if this change is not implemented";
                          label: "Justification";
                          language: "en";
                          plural: "Justifications";
                      },
                  ];
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          on_hold: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Indicates the Change Request is on hold";
                          label: "On hold";
                          language: "en";
                          plural: "On holds";
                      },
                  ];
              },
          >;
          on_hold_reason: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Provide the reason for putting the Change Request on hold";
                          label: "On hold reason";
                          language: "en";
                          plural: "On hold reasons";
                      },
                  ];
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          on_hold_task: Typed<
              string
              | string[]
              | Record<"change_task">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: [
                      {
                          hint: "Change Tasks that have been placed on hold by the change";
                          label: "On Hold Change Tasks";
                          language: "en";
                          plural: "On Hold Change Tasks";
                      },
                  ];
                  referenceTable: "change_task";
              },
          >;
          outside_maintenance_schedule: Typed<
              boolean,
              { label: "Outside maintenance schedule" },
          >;
          phase: Typed<
              string,
              {
                  default: "requested";
                  dependent: "category";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Dependent on Category value";
                          label: "Phase";
                          language: "en";
                          plural: "Phases";
                      },
                  ];
              },
          >;
          phase_state: Typed<
              string,
              {
                  default: "open";
                  dependent: "phase";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Dependent on Phase value";
                          label: "Phase state";
                          language: "en";
                          plural: "Phase states";
                      },
                  ];
              },
          >;
          production_system: Typed<boolean, { label: "Production system" }>;
          reason: Typed<string, { dropdown: "dropdown_with_none"; label: "Reason" }>;
          requested_by: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  default: "javascript:gs.getUserID()";
                  label: "Requested by";
                  referenceTable: "sys_user";
              },
          >;
          requested_by_date: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: "Requested by date" },
          >;
          review_comments: Typed<
              string,
              { label: "Review comments"; maxLength: 4000; spellCheck: true },
          >;
          review_date: Typed<
              `${number}-${number}-${number}`,
              { label: "Review date" },
          >;
          review_status: Typed<
              number,
              { dropdown: "dropdown_with_none"; label: "Review status" },
          >;
          risk: Typed<
              number,
              {
                  attributes: { field_decorations: "change_risk_details" };
                  dropdown: "dropdown_with_none";
                  label: [{ label: "Risk"; language: "en"; plural: "Risk" }];
              },
          >;
          risk_impact_analysis: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Enter potential risks and impact associated with this change. Include impact details if this change implementation is unsuccessful";
                          label: "Risk and impact analysis";
                          language: "en";
                          plural: "Risk and impact analysis";
                      },
                  ];
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          scope: Typed<
              number,
              {
                  default: "3";
                  dropdown: "dropdown_with_none";
                  label: [{ label: "Scope"; language: "en"; plural: "Scope" }];
              },
          >;
          start_date: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: "Planned start date" },
          >;
          std_change_producer_version: Typed<
              | string
              | Record<"std_change_producer_version">
              | ExplicitKey<"std_change_producer_version">
              | TableBrand<"std_change_producer_version">,
              {
                  attributes: { encode_utf8: false };
                  label: "Standard Change Template version";
                  readOnly: true;
                  readOnlyOption: "instance_configured";
                  referenceTable: "std_change_producer_version";
              },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          test_plan: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Enter details of planned and completed tests prior to implementation that indicate the potential success of this change. Enter details of planned post-implementation tests to confirm success of this change";
                          label: "Test plan";
                          language: "en";
                          plural: "Test plans";
                      },
                  ];
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          type: Typed<
              string,
              {
                  default: "javascript:ChangeModel.getDefaultTypeValue();";
                  dropdown: "dropdown_with_none";
                  label: [{ label: "Type"; language: "en"; plural: "Type" }];
              },
          >;
          unauthorized: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "Change activity detected without prior authorization. To unset this field create an Outage of type Outage or Degradation.";
                          label: "Unauthorized";
                          language: "en";
                          plural: "Unauthorized";
                      },
                  ];
              },
          >;
      }
    • ReadonlytextIndex: true