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

    Variable sc_taskConst

    sc_task: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        audit: true;
        autoNumber: { number: 10000; prefix: "SCTASK" };
        extends: "task";
        label: "Catalog Task";
        licensingConfig: {
            licenseCondition: "request_item.requested_forISEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^stateNOT IN-5,1^NQrequest_item.requested_forISNOTEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^sys_updated_byNSAMEASrequest_item.requested_for.user_name^stateIN-5,1^EQ";
        };
        name: "sc_task";
        schema: {
            calendar_stc: Typed<number, { label: "Resolve Time" }>;
            cat_item: Typed<
                | string
                | Record<"sc_cat_item">
                | ExplicitKey<"sc_cat_item">
                | TableBrand<"sc_cat_item">,
                {
                    attributes: {
                        encode_utf8: false;
                        popover: true;
                        popup_processor: "com.glideapp.servicecatalog.CatItemPopper";
                    };
                    default: "javascript: new global.SNCCatalogUtil().getCatItemSCTask(current);";
                    label: "Item";
                    readOnly: true;
                    referenceQual: "type!=bundle^sys_class_name!=sc_cat_item_guide^sys_class_name!=sc_cat_item_producer^type!=package^sys_class_name!=sc_cat_item_content^active=true";
                    referenceTable: "sc_cat_item";
                },
            >;
            request: Typed<
                | string
                | Record<"sc_request">
                | ExplicitKey<"sc_request">
                | TableBrand<"sc_request">,
                {
                    attributes: { encode_utf8: false; readonly_clickthrough: true };
                    label: "Request";
                    readOnly: true;
                    referenceTable: "sc_request";
                },
            >;
            request_item: Typed<
                | string
                | Record<"sc_req_item">
                | ExplicitKey<"sc_req_item">
                | TableBrand<"sc_req_item">,
                {
                    attributes: { encode_utf8: false };
                    label: "Request item";
                    referenceTable: "sc_req_item";
                },
            >;
            sc_catalog: Typed<
                | string
                | Record<"sc_catalog">
                | ExplicitKey<"sc_catalog">
                | TableBrand<"sc_catalog">,
                { label: "Catalog"; readOnly: true; referenceTable: "sc_catalog" },
            >;
            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
    • Readonlyaudit: true
    • ReadonlyautoNumber: { number: 10000; prefix: "SCTASK" }
    • Readonlyextends: "task"
    • Readonlylabel: "Catalog Task"
    • ReadonlylicensingConfig: {
          licenseCondition: "request_item.requested_forISEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^stateNOT IN-5,1^NQrequest_item.requested_forISNOTEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^sys_updated_byNSAMEASrequest_item.requested_for.user_name^stateIN-5,1^EQ";
      }
    • Readonlyname: "sc_task"
    • Readonlyschema: {
          calendar_stc: Typed<number, { label: "Resolve Time" }>;
          cat_item: Typed<
              | string
              | Record<"sc_cat_item">
              | ExplicitKey<"sc_cat_item">
              | TableBrand<"sc_cat_item">,
              {
                  attributes: {
                      encode_utf8: false;
                      popover: true;
                      popup_processor: "com.glideapp.servicecatalog.CatItemPopper";
                  };
                  default: "javascript: new global.SNCCatalogUtil().getCatItemSCTask(current);";
                  label: "Item";
                  readOnly: true;
                  referenceQual: "type!=bundle^sys_class_name!=sc_cat_item_guide^sys_class_name!=sc_cat_item_producer^type!=package^sys_class_name!=sc_cat_item_content^active=true";
                  referenceTable: "sc_cat_item";
              },
          >;
          request: Typed<
              | string
              | Record<"sc_request">
              | ExplicitKey<"sc_request">
              | TableBrand<"sc_request">,
              {
                  attributes: { encode_utf8: false; readonly_clickthrough: true };
                  label: "Request";
                  readOnly: true;
                  referenceTable: "sc_request";
              },
          >;
          request_item: Typed<
              | string
              | Record<"sc_req_item">
              | ExplicitKey<"sc_req_item">
              | TableBrand<"sc_req_item">,
              {
                  attributes: { encode_utf8: false };
                  label: "Request item";
                  referenceTable: "sc_req_item";
              },
          >;
          sc_catalog: Typed<
              | string
              | Record<"sc_catalog">
              | ExplicitKey<"sc_catalog">
              | TableBrand<"sc_catalog">,
              { label: "Catalog"; readOnly: true; referenceTable: "sc_catalog" },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
      }
    • ReadonlytextIndex: true