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

    Variable sc_requestConst

    sc_request: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        attributes: { hasWorkflow: true };
        audit: true;
        autoNumber: { number: 10000; prefix: "REQ" };
        extends: "task";
        extensible: true;
        label: "Request";
        licensingConfig: {
            licenseCondition: "sys_updated_byNSAMEASrequested_for.user_name^request_state!=requested^EQ";
        };
        name: "sc_request";
        schema: {
            calendar_stc: Typed<number, { label: "Resolve Time" }>;
            delivery_address: Typed<
                string,
                { label: "Delivery address"; maxLength: 4000 },
            >;
            parent_interaction: Typed<
                | string
                | Record<"interaction">
                | ExplicitKey<"interaction">
                | TableBrand<"interaction">,
                {
                    attributes: { encode_utf8: false };
                    label: "Parent interaction";
                    referenceTable: "interaction";
                },
            >;
            price: Typed<
                string
                | number,
                { columnType: "currency"; label: "Price"; maxLength: 20; readOnly: true },
            >;
            request_state: Typed<
                string,
                {
                    default: "requested";
                    dropdown: "dropdown_with_none";
                    label: "Request state";
                },
            >;
            requested_date: Typed<
                `${number}-${number}-${number}`,
                {
                    label: [
                        {
                            hint: "Desired delivery date";
                            label: "Requested for date";
                            language: "en";
                            plural: "Requested for dates";
                        },
                    ];
                },
            >;
            requested_for: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    default: "javascript:gs.getUserID()";
                    label: [
                        {
                            hint: "On behalf of another individual";
                            label: "Requested for";
                            language: "en";
                            plural: "Requested for";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            special_instructions: Typed<
                string,
                { label: "Special instructions"; maxLength: 4000 },
            >;
            stage: Typed<
                string
                | number,
                {
                    columnType: "workflow";
                    default: "requested";
                    dropdown: "dropdown_with_none";
                    label: "Stage";
                    maxLength: 80;
                },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { hasWorkflow: true }
    • Readonlyaudit: true
    • ReadonlyautoNumber: { number: 10000; prefix: "REQ" }
    • Readonlyextends: "task"
    • Readonlyextensible: true
    • Readonlylabel: "Request"
    • ReadonlylicensingConfig: {
          licenseCondition: "sys_updated_byNSAMEASrequested_for.user_name^request_state!=requested^EQ";
      }
    • Readonlyname: "sc_request"
    • Readonlyschema: {
          calendar_stc: Typed<number, { label: "Resolve Time" }>;
          delivery_address: Typed<
              string,
              { label: "Delivery address"; maxLength: 4000 },
          >;
          parent_interaction: Typed<
              | string
              | Record<"interaction">
              | ExplicitKey<"interaction">
              | TableBrand<"interaction">,
              {
                  attributes: { encode_utf8: false };
                  label: "Parent interaction";
                  referenceTable: "interaction";
              },
          >;
          price: Typed<
              string
              | number,
              { columnType: "currency"; label: "Price"; maxLength: 20; readOnly: true },
          >;
          request_state: Typed<
              string,
              {
                  default: "requested";
                  dropdown: "dropdown_with_none";
                  label: "Request state";
              },
          >;
          requested_date: Typed<
              `${number}-${number}-${number}`,
              {
                  label: [
                      {
                          hint: "Desired delivery date";
                          label: "Requested for date";
                          language: "en";
                          plural: "Requested for dates";
                      },
                  ];
              },
          >;
          requested_for: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  default: "javascript:gs.getUserID()";
                  label: [
                      {
                          hint: "On behalf of another individual";
                          label: "Requested for";
                          language: "en";
                          plural: "Requested for";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          special_instructions: Typed<
              string,
              { label: "Special instructions"; maxLength: 4000 },
          >;
          stage: Typed<
              string
              | number,
              {
                  columnType: "workflow";
                  default: "requested";
                  dropdown: "dropdown_with_none";
                  label: "Stage";
                  maxLength: 80;
              },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
      }
    • ReadonlytextIndex: true