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

    Variable taskConst

    task: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        attributes: {
            "all_tables.detail_row": "short_description";
            "all_tables.display_color": "priority";
            "all_tables.live_feed": true;
            "all_tables.text_index_translations": true;
            extension_model: "hierarchy";
            hasListeners: true;
            kagami_csindex_enabled: true;
            largeTable: true;
            reference_index_include: "active";
        };
        autoNumber: { number: 20000; prefix: "TASK" };
        display: "number";
        extensible: true;
        label: "Task";
        liveFeed: true;
        name: "task";
        schema: {
            active: Typed<
                boolean,
                {
                    attributes: { ignore_filter_on_new: true };
                    default: true;
                    label: "Active";
                },
            >;
            activity_due: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    label: [
                        {
                            hint: "Date by which the Inactivity Monitor expects the task to be updated";
                            label: "Activity due";
                            language: "en";
                            plural: "Activity dues";
                        },
                    ];
                },
            >;
            additional_assignee_list: Typed<
                string
                | string[]
                | Record<"sys_user">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: [
                        {
                            hint: "Additional assignees";
                            label: "Additional assignee list";
                            language: "en";
                            plural: "Additional assignee lists";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            approval: Typed<
                string,
                {
                    default: "not requested";
                    dropdown: "dropdown_without_none";
                    label: "Approval";
                },
            >;
            approval_history: Typed<
                string
                | number,
                {
                    columnType: "journal";
                    label: "Approval history";
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            approval_set: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { attributes: { timeDimension: true }; label: "Approval set" },
            >;
            assigned_to: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    dependent: "assignment_group";
                    label: [
                        {
                            hint: "Person primarily responsible for working this task";
                            label: "Assigned to";
                            language: "en";
                            plural: "Assigned to";
                        },
                    ];
                    referenceFloats: true;
                    referenceQual: "roles=itil";
                    referenceTable: "sys_user";
                },
            >;
            assignment_group: Typed<
                | string
                | Record<"sys_user_group">
                | ExplicitKey<"sys_user_group">
                | TableBrand<"sys_user_group">,
                {
                    attributes: { tree_picker: true };
                    label: "Assignment group";
                    referenceQual: "type=null^ORtype=1cb8ab9bff500200158bffffffffff62^EQ";
                    referenceTable: "sys_user_group";
                },
            >;
            business_duration: Typed<
                string
                | Duration,
                {
                    label: [
                        {
                            hint: "Business time elapsed before task was closed";
                            label: "Business duration";
                            language: "en";
                            plural: "Business durations";
                        },
                    ];
                    maxLength: 40;
                    readOnly: true;
                },
            >;
            business_service: Typed<
                | string
                | Record<"cmdb_ci_service">
                | ExplicitKey<"cmdb_ci_service">
                | TableBrand<"cmdb_ci_service">,
                {
                    attributes: { encode_utf8: false };
                    label: "Service";
                    referenceTable: "cmdb_ci_service";
                },
            >;
            calendar_duration: Typed<
                string
                | Duration,
                {
                    label: [
                        {
                            hint: "Time elapsed before task was closed";
                            label: "Duration";
                            language: "en";
                            plural: "Durations";
                        },
                    ];
                    maxLength: 40;
                    readOnly: true;
                },
            >;
            close_notes: Typed<
                string,
                { label: "Close notes"; maxLength: 4000; spellCheck: true },
            >;
            closed_at: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    attributes: { sla_closure: "incident"; timeDimension: true };
                    label: "Closed";
                },
            >;
            closed_by: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    label: "Closed by";
                    referenceFloats: true;
                    referenceTable: "sys_user";
                },
            >;
            cmdb_ci: Typed<
                | string
                | Record<"cmdb_ci">
                | ExplicitKey<"cmdb_ci">
                | TableBrand<"cmdb_ci">,
                {
                    attributes: {
                        encode_utf8: false;
                        ref_ac_columns: "sys_class_name";
                        ref_auto_completer: "AJAXTableCompleter";
                        ref_contributions: "task_show_ci_map;show_related_records";
                    };
                    dependent: "company";
                    label: [
                        {
                            hint: "Item or service affected";
                            label: "Configuration item";
                            language: "en";
                            plural: "Configuration items";
                        },
                    ];
                    referenceQual: "javascript: ['incident', 'problem'].indexOf(current.sys_class_name + '') == -1? '' : 'operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateTask').join()";
                    referenceTable: "cmdb_ci";
                },
            >;
            comments: Typed<
                string
                | number,
                {
                    columnType: "journal_input";
                    label: [
                        {
                            hint: "Journaled field, shared with the end user";
                            label: "Additional comments";
                            language: "en";
                            plural: "Additional comments";
                        },
                    ];
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            comments_and_work_notes: Typed<
                string
                | number,
                {
                    columnType: "journal_list";
                    dependent: "comments,work_notes";
                    label: [
                        {
                            hint: "Combined output of Additional comments and Work notes";
                            label: "Comments and Work notes";
                            language: "en";
                            plural: "Comments and Work notes";
                        },
                    ];
                    maxLength: 4000;
                },
            >;
            company: Typed<
                | string
                | Record<"core_company">
                | ExplicitKey<"core_company">
                | TableBrand<"core_company">,
                {
                    attributes: { encode_utf8: false };
                    label: "Company";
                    referenceQual: "customer=true";
                    referenceTable: "core_company";
                },
            >;
            contact_type: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    dropdown: "dropdown_with_none";
                    label: "Contact type";
                },
            >;
            contract: Typed<
                | string
                | Record<"ast_contract">
                | ExplicitKey<"ast_contract">
                | TableBrand<"ast_contract">,
                {
                    attributes: {
                        encode_utf8: false;
                        ref_ac_columns: "short_description";
                        ref_auto_completer: "AJAXTableCompleter";
                    };
                    label: "Contract";
                    referenceQual: "javascript:contractFilter();";
                    referenceTable: "ast_contract";
                },
            >;
            correlation_display: Typed<
                string,
                { label: "Correlation display"; maxLength: 100 },
            >;
            correlation_id: Typed<string, { label: "Correlation ID"; maxLength: 100 }>;
            delivery_plan: Typed<
                | string
                | Record<"sc_cat_item_delivery_plan">
                | ExplicitKey<"sc_cat_item_delivery_plan">
                | TableBrand<"sc_cat_item_delivery_plan">,
                {
                    attributes: { encode_utf8: false };
                    label: "Delivery plan";
                    referenceTable: "sc_cat_item_delivery_plan";
                },
            >;
            delivery_task: Typed<
                | string
                | Record<"sc_cat_item_delivery_task">
                | ExplicitKey<"sc_cat_item_delivery_task">
                | TableBrand<"sc_cat_item_delivery_task">,
                {
                    attributes: { encode_utf8: false };
                    label: "Delivery task";
                    referenceTable: "sc_cat_item_delivery_task";
                },
            >;
            description: Typed<
                string,
                { label: "Description"; maxLength: 4000; spellCheck: true },
            >;
            due_date: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    label: [
                        {
                            hint: "Expected date from assigned to";
                            label: "Due date";
                            language: "en";
                            plural: "Due dates";
                        },
                    ];
                },
            >;
            escalation: Typed<
                number,
                {
                    default: "0";
                    dropdown: "dropdown_without_none";
                    label: "Escalation";
                    readOnly: true;
                },
            >;
            expected_start: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { attributes: { timeDimension: true }; label: "Expected start" },
            >;
            follow_up: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: "Follow up" },
            >;
            group_list: Typed<
                string
                | string[]
                | Record<"sys_user_group">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: [
                        {
                            hint: "Interested groups";
                            label: "Group list";
                            language: "en";
                            plural: "Group lists";
                        },
                    ];
                    referenceTable: "sys_user_group";
                },
            >;
            impact: Typed<
                number,
                {
                    default: "3";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "Measure of the business criticality of the affected service";
                            label: "Impact";
                            language: "en";
                            plural: "Impact";
                        },
                    ];
                },
            >;
            knowledge: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "If checked, will automatically create a Draft knowledge article upon closure";
                            label: "Knowledge";
                            language: "en";
                            plural: "Knowledges";
                        },
                    ];
                },
            >;
            location: Typed<
                | string
                | Record<"cmn_location">
                | ExplicitKey<"cmn_location">
                | TableBrand<"cmn_location">,
                {
                    attributes: { encode_utf8: false; tree_picker: true };
                    dependent: "company";
                    label: [
                        {
                            hint: "Where the caller or service is located";
                            label: "Location";
                            language: "en";
                            plural: "Locations";
                        },
                    ];
                    referenceTable: "cmn_location";
                },
            >;
            made_sla: Typed<boolean, { default: true; label: "Made SLA" }>;
            number: Typed<
                string,
                {
                    attributes: { ignore_filter_on_new: true; ts_weight: "50" };
                    default: "javascript:getNextObjNumberPadded();";
                    label: "Number";
                },
            >;
            opened_at: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    attributes: { sla_basis: "incident"; timeDimension: true };
                    default: "javascript:gs.nowDateTime()";
                    label: "Opened";
                },
            >;
            opened_by: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    default: "javascript:gs.getUserID()";
                    label: "Opened by";
                    referenceFloats: true;
                    referenceTable: "sys_user";
                },
            >;
            order: Typed<number, { label: "Order" }>;
            parent: Typed<
                string
                | Record<"task">
                | ExplicitKey<"task">
                | TableBrand<"task">,
                {
                    attributes: { encode_utf8: false };
                    label: "Parent";
                    referenceFloats: true;
                    referenceTable: "task";
                },
            >;
            priority: Typed<
                number,
                {
                    default: "4";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Sequence in which an Incident or Problem needs to be resolved, based on impact and urgency";
                            label: "Priority";
                            language: "en";
                            plural: "Priorities";
                        },
                    ];
                },
            >;
            reassignment_count: Typed<
                number,
                { default: "0"; label: "Reassignment count" },
            >;
            rejection_goto: Typed<
                string
                | Record<"task">
                | ExplicitKey<"task">
                | TableBrand<"task">,
                {
                    active: false;
                    attributes: { encode_utf8: false; ref_qual_elements: "parent" };
                    label: "Rejection goto";
                    referenceQual: "javascript:gs.include('DeliveryTask');new DeliveryTask().getLocalReferenceQual();";
                    referenceTable: "task";
                },
            >;
            route_reason: Typed<
                number,
                {
                    dropdown: "dropdown_with_none";
                    label: "Transfer reason";
                    readOnly: true;
                },
            >;
            service_offering: Typed<
                | string
                | Record<"service_offering">
                | ExplicitKey<"service_offering">
                | TableBrand<"service_offering">,
                {
                    attributes: { encode_utf8: false };
                    label: "Service offering";
                    referenceQual: "javascript:'parent='+current.business_service;";
                    referenceTable: "service_offering";
                },
            >;
            short_description: Typed<
                StringWithSuggestions<string>,
                {
                    attributes: {
                        knowledge_search: true;
                        no_truncate: true;
                        ts_weight: "10";
                    };
                    dropdown: "suggestion";
                    label: "Short description";
                    maxLength: 160;
                },
            >;
            sla_due: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    label: [
                        {
                            hint: "Date by which the SLA expects this task to be completed";
                            label: "SLA due";
                            language: "en";
                            plural: "SLA dues";
                        },
                    ];
                },
            >;
            sn_ai_sentiment: Typed<
                | string
                | Record<"sys_sentiment_details">
                | ExplicitKey<"sys_sentiment_details">
                | TableBrand<"sys_sentiment_details">,
                {
                    attributes: { encode_utf8: false; readonly_clickthrough: true };
                    label: "Sentiment";
                    readOnly: true;
                    referenceTable: "sys_sentiment_details";
                },
            >;
            state: Typed<
                number,
                { default: "1"; dropdown: "dropdown_without_none"; label: "State" },
            >;
            sys_class_name: Typed<
                string,
                {
                    default: "javascript:current.getTableName();";
                    dropdown: "dropdown_without_none";
                    label: "Task type";
                    maxLength: 80;
                },
            >;
            sys_created_by: Typed<
                string,
                {
                    label: [
                        { label: "Created by"; language: "en"; plural: "Created by" },
                    ];
                },
            >;
            sys_created_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
            >;
            sys_domain: Typed<
                Record<"domain">
                | "global",
                {
                    default: "global";
                    label: [
                        {
                            hint: "Domain to which the task belongs";
                            label: "Domain";
                            language: "en";
                            plural: "Domains";
                        },
                    ];
                },
            >;
            sys_domain_path: Typed<
                string,
                {
                    attributes: { case_sensitive: true };
                    default: "/";
                    label: "Domain Path";
                },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            sys_mod_count: Typed<
                number,
                { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
            >;
            sys_updated_by: Typed<
                string,
                {
                    label: [
                        { label: "Updated by"; language: "en"; plural: "Updated by" },
                    ];
                },
            >;
            sys_updated_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
            >;
            task_effective_number: Typed<
                string,
                {
                    attributes: { ignore_filter_on_new: true; no_text_index: true };
                    dynamicValueDefinitions: {
                        calculatedValue: "current.universal_request.nil() ? current.number: current.universal_request.number";
                        type: "calculated_value";
                    };
                    label: "Effective number";
                    readOnly: true;
                },
            >;
            time_worked: Typed<
                string
                | number,
                { columnType: "timer"; label: "Time worked" },
            >;
            universal_request: Typed<
                string
                | Record<"task">
                | ExplicitKey<"task">
                | TableBrand<"task">,
                {
                    attributes: { encode_utf8: false };
                    cascadeRule: "none";
                    label: "Universal Request";
                    referenceQual: "javascript:'sys_class_name=universal_request'";
                    referenceTable: "task";
                },
            >;
            upon_approval: Typed<
                string,
                {
                    default: "proceed";
                    dropdown: "dropdown_with_none";
                    label: "Upon approval";
                },
            >;
            upon_reject: Typed<
                string,
                {
                    default: "cancel";
                    dropdown: "dropdown_with_none";
                    label: "Upon reject";
                },
            >;
            urgency: Typed<
                number,
                {
                    default: "3";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "Measure of the business criticality based on the impact and on the business needs of the Customer";
                            label: "Urgency";
                            language: "en";
                            plural: "Urgencies";
                        },
                    ];
                },
            >;
            user_input: Typed<
                string
                | number,
                { columnType: "user_input"; label: "User input"; maxLength: 4000 },
            >;
            variables: Typed<
                string
                | number,
                { active: false; columnType: "variables"; label: "Variables" },
            >;
            watch_list: Typed<
                string
                | string[]
                | Record<"sys_user">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: [
                        {
                            hint: "Interested users";
                            label: "Watch list";
                            language: "en";
                            plural: "Watch lists";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            wf_activity: Typed<
                | string
                | Record<"wf_activity">
                | ExplicitKey<"wf_activity">
                | TableBrand<"wf_activity">,
                {
                    active: false;
                    attributes: { encode_utf8: false };
                    cascadeRule: "clear";
                    label: "Workflow activity";
                    referenceTable: "wf_activity";
                },
            >;
            work_end: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    attributes: { sla_closure: true; timeDimension: true };
                    label: [{ label: "Actual end"; language: "en"; plural: "Actual end" }];
                },
            >;
            work_notes: Typed<
                string
                | number,
                {
                    columnType: "journal_input";
                    label: "Work notes";
                    maxLength: 4000;
                    spellCheck: true;
                },
            >;
            work_notes_list: Typed<
                string
                | string[]
                | Record<"sys_user">[],
                {
                    attributes: {
                        array: "denormalized";
                        no_sort: true;
                        slushbucket_ref_no_expand: true;
                    };
                    label: [
                        {
                            hint: "Users interested in work notes";
                            label: "Work notes list";
                            language: "en";
                            plural: "Work notes lists";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            work_start: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    attributes: { sla_basis: true; timeDimension: true };
                    label: [
                        { label: "Actual start"; language: "en"; plural: "Actual start" },
                    ];
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: {
          "all_tables.detail_row": "short_description";
          "all_tables.display_color": "priority";
          "all_tables.live_feed": true;
          "all_tables.text_index_translations": true;
          extension_model: "hierarchy";
          hasListeners: true;
          kagami_csindex_enabled: true;
          largeTable: true;
          reference_index_include: "active";
      }
    • ReadonlyautoNumber: { number: 20000; prefix: "TASK" }
    • Readonlydisplay: "number"
    • Readonlyextensible: true
    • Readonlylabel: "Task"
    • ReadonlyliveFeed: true
    • Readonlyname: "task"
    • Readonlyschema: {
          active: Typed<
              boolean,
              {
                  attributes: { ignore_filter_on_new: true };
                  default: true;
                  label: "Active";
              },
          >;
          activity_due: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  label: [
                      {
                          hint: "Date by which the Inactivity Monitor expects the task to be updated";
                          label: "Activity due";
                          language: "en";
                          plural: "Activity dues";
                      },
                  ];
              },
          >;
          additional_assignee_list: Typed<
              string
              | string[]
              | Record<"sys_user">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: [
                      {
                          hint: "Additional assignees";
                          label: "Additional assignee list";
                          language: "en";
                          plural: "Additional assignee lists";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          approval: Typed<
              string,
              {
                  default: "not requested";
                  dropdown: "dropdown_without_none";
                  label: "Approval";
              },
          >;
          approval_history: Typed<
              string
              | number,
              {
                  columnType: "journal";
                  label: "Approval history";
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          approval_set: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { attributes: { timeDimension: true }; label: "Approval set" },
          >;
          assigned_to: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  dependent: "assignment_group";
                  label: [
                      {
                          hint: "Person primarily responsible for working this task";
                          label: "Assigned to";
                          language: "en";
                          plural: "Assigned to";
                      },
                  ];
                  referenceFloats: true;
                  referenceQual: "roles=itil";
                  referenceTable: "sys_user";
              },
          >;
          assignment_group: Typed<
              | string
              | Record<"sys_user_group">
              | ExplicitKey<"sys_user_group">
              | TableBrand<"sys_user_group">,
              {
                  attributes: { tree_picker: true };
                  label: "Assignment group";
                  referenceQual: "type=null^ORtype=1cb8ab9bff500200158bffffffffff62^EQ";
                  referenceTable: "sys_user_group";
              },
          >;
          business_duration: Typed<
              string
              | Duration,
              {
                  label: [
                      {
                          hint: "Business time elapsed before task was closed";
                          label: "Business duration";
                          language: "en";
                          plural: "Business durations";
                      },
                  ];
                  maxLength: 40;
                  readOnly: true;
              },
          >;
          business_service: Typed<
              | string
              | Record<"cmdb_ci_service">
              | ExplicitKey<"cmdb_ci_service">
              | TableBrand<"cmdb_ci_service">,
              {
                  attributes: { encode_utf8: false };
                  label: "Service";
                  referenceTable: "cmdb_ci_service";
              },
          >;
          calendar_duration: Typed<
              string
              | Duration,
              {
                  label: [
                      {
                          hint: "Time elapsed before task was closed";
                          label: "Duration";
                          language: "en";
                          plural: "Durations";
                      },
                  ];
                  maxLength: 40;
                  readOnly: true;
              },
          >;
          close_notes: Typed<
              string,
              { label: "Close notes"; maxLength: 4000; spellCheck: true },
          >;
          closed_at: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  attributes: { sla_closure: "incident"; timeDimension: true };
                  label: "Closed";
              },
          >;
          closed_by: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  label: "Closed by";
                  referenceFloats: true;
                  referenceTable: "sys_user";
              },
          >;
          cmdb_ci: Typed<
              | string
              | Record<"cmdb_ci">
              | ExplicitKey<"cmdb_ci">
              | TableBrand<"cmdb_ci">,
              {
                  attributes: {
                      encode_utf8: false;
                      ref_ac_columns: "sys_class_name";
                      ref_auto_completer: "AJAXTableCompleter";
                      ref_contributions: "task_show_ci_map;show_related_records";
                  };
                  dependent: "company";
                  label: [
                      {
                          hint: "Item or service affected";
                          label: "Configuration item";
                          language: "en";
                          plural: "Configuration items";
                      },
                  ];
                  referenceQual: "javascript: ['incident', 'problem'].indexOf(current.sys_class_name + '') == -1? '' : 'operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateTask').join()";
                  referenceTable: "cmdb_ci";
              },
          >;
          comments: Typed<
              string
              | number,
              {
                  columnType: "journal_input";
                  label: [
                      {
                          hint: "Journaled field, shared with the end user";
                          label: "Additional comments";
                          language: "en";
                          plural: "Additional comments";
                      },
                  ];
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          comments_and_work_notes: Typed<
              string
              | number,
              {
                  columnType: "journal_list";
                  dependent: "comments,work_notes";
                  label: [
                      {
                          hint: "Combined output of Additional comments and Work notes";
                          label: "Comments and Work notes";
                          language: "en";
                          plural: "Comments and Work notes";
                      },
                  ];
                  maxLength: 4000;
              },
          >;
          company: Typed<
              | string
              | Record<"core_company">
              | ExplicitKey<"core_company">
              | TableBrand<"core_company">,
              {
                  attributes: { encode_utf8: false };
                  label: "Company";
                  referenceQual: "customer=true";
                  referenceTable: "core_company";
              },
          >;
          contact_type: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  dropdown: "dropdown_with_none";
                  label: "Contact type";
              },
          >;
          contract: Typed<
              | string
              | Record<"ast_contract">
              | ExplicitKey<"ast_contract">
              | TableBrand<"ast_contract">,
              {
                  attributes: {
                      encode_utf8: false;
                      ref_ac_columns: "short_description";
                      ref_auto_completer: "AJAXTableCompleter";
                  };
                  label: "Contract";
                  referenceQual: "javascript:contractFilter();";
                  referenceTable: "ast_contract";
              },
          >;
          correlation_display: Typed<
              string,
              { label: "Correlation display"; maxLength: 100 },
          >;
          correlation_id: Typed<string, { label: "Correlation ID"; maxLength: 100 }>;
          delivery_plan: Typed<
              | string
              | Record<"sc_cat_item_delivery_plan">
              | ExplicitKey<"sc_cat_item_delivery_plan">
              | TableBrand<"sc_cat_item_delivery_plan">,
              {
                  attributes: { encode_utf8: false };
                  label: "Delivery plan";
                  referenceTable: "sc_cat_item_delivery_plan";
              },
          >;
          delivery_task: Typed<
              | string
              | Record<"sc_cat_item_delivery_task">
              | ExplicitKey<"sc_cat_item_delivery_task">
              | TableBrand<"sc_cat_item_delivery_task">,
              {
                  attributes: { encode_utf8: false };
                  label: "Delivery task";
                  referenceTable: "sc_cat_item_delivery_task";
              },
          >;
          description: Typed<
              string,
              { label: "Description"; maxLength: 4000; spellCheck: true },
          >;
          due_date: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  label: [
                      {
                          hint: "Expected date from assigned to";
                          label: "Due date";
                          language: "en";
                          plural: "Due dates";
                      },
                  ];
              },
          >;
          escalation: Typed<
              number,
              {
                  default: "0";
                  dropdown: "dropdown_without_none";
                  label: "Escalation";
                  readOnly: true;
              },
          >;
          expected_start: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { attributes: { timeDimension: true }; label: "Expected start" },
          >;
          follow_up: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: "Follow up" },
          >;
          group_list: Typed<
              string
              | string[]
              | Record<"sys_user_group">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: [
                      {
                          hint: "Interested groups";
                          label: "Group list";
                          language: "en";
                          plural: "Group lists";
                      },
                  ];
                  referenceTable: "sys_user_group";
              },
          >;
          impact: Typed<
              number,
              {
                  default: "3";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "Measure of the business criticality of the affected service";
                          label: "Impact";
                          language: "en";
                          plural: "Impact";
                      },
                  ];
              },
          >;
          knowledge: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "If checked, will automatically create a Draft knowledge article upon closure";
                          label: "Knowledge";
                          language: "en";
                          plural: "Knowledges";
                      },
                  ];
              },
          >;
          location: Typed<
              | string
              | Record<"cmn_location">
              | ExplicitKey<"cmn_location">
              | TableBrand<"cmn_location">,
              {
                  attributes: { encode_utf8: false; tree_picker: true };
                  dependent: "company";
                  label: [
                      {
                          hint: "Where the caller or service is located";
                          label: "Location";
                          language: "en";
                          plural: "Locations";
                      },
                  ];
                  referenceTable: "cmn_location";
              },
          >;
          made_sla: Typed<boolean, { default: true; label: "Made SLA" }>;
          number: Typed<
              string,
              {
                  attributes: { ignore_filter_on_new: true; ts_weight: "50" };
                  default: "javascript:getNextObjNumberPadded();";
                  label: "Number";
              },
          >;
          opened_at: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  attributes: { sla_basis: "incident"; timeDimension: true };
                  default: "javascript:gs.nowDateTime()";
                  label: "Opened";
              },
          >;
          opened_by: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  default: "javascript:gs.getUserID()";
                  label: "Opened by";
                  referenceFloats: true;
                  referenceTable: "sys_user";
              },
          >;
          order: Typed<number, { label: "Order" }>;
          parent: Typed<
              string
              | Record<"task">
              | ExplicitKey<"task">
              | TableBrand<"task">,
              {
                  attributes: { encode_utf8: false };
                  label: "Parent";
                  referenceFloats: true;
                  referenceTable: "task";
              },
          >;
          priority: Typed<
              number,
              {
                  default: "4";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Sequence in which an Incident or Problem needs to be resolved, based on impact and urgency";
                          label: "Priority";
                          language: "en";
                          plural: "Priorities";
                      },
                  ];
              },
          >;
          reassignment_count: Typed<
              number,
              { default: "0"; label: "Reassignment count" },
          >;
          rejection_goto: Typed<
              string
              | Record<"task">
              | ExplicitKey<"task">
              | TableBrand<"task">,
              {
                  active: false;
                  attributes: { encode_utf8: false; ref_qual_elements: "parent" };
                  label: "Rejection goto";
                  referenceQual: "javascript:gs.include('DeliveryTask');new DeliveryTask().getLocalReferenceQual();";
                  referenceTable: "task";
              },
          >;
          route_reason: Typed<
              number,
              {
                  dropdown: "dropdown_with_none";
                  label: "Transfer reason";
                  readOnly: true;
              },
          >;
          service_offering: Typed<
              | string
              | Record<"service_offering">
              | ExplicitKey<"service_offering">
              | TableBrand<"service_offering">,
              {
                  attributes: { encode_utf8: false };
                  label: "Service offering";
                  referenceQual: "javascript:'parent='+current.business_service;";
                  referenceTable: "service_offering";
              },
          >;
          short_description: Typed<
              StringWithSuggestions<string>,
              {
                  attributes: {
                      knowledge_search: true;
                      no_truncate: true;
                      ts_weight: "10";
                  };
                  dropdown: "suggestion";
                  label: "Short description";
                  maxLength: 160;
              },
          >;
          sla_due: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  label: [
                      {
                          hint: "Date by which the SLA expects this task to be completed";
                          label: "SLA due";
                          language: "en";
                          plural: "SLA dues";
                      },
                  ];
              },
          >;
          sn_ai_sentiment: Typed<
              | string
              | Record<"sys_sentiment_details">
              | ExplicitKey<"sys_sentiment_details">
              | TableBrand<"sys_sentiment_details">,
              {
                  attributes: { encode_utf8: false; readonly_clickthrough: true };
                  label: "Sentiment";
                  readOnly: true;
                  referenceTable: "sys_sentiment_details";
              },
          >;
          state: Typed<
              number,
              { default: "1"; dropdown: "dropdown_without_none"; label: "State" },
          >;
          sys_class_name: Typed<
              string,
              {
                  default: "javascript:current.getTableName();";
                  dropdown: "dropdown_without_none";
                  label: "Task type";
                  maxLength: 80;
              },
          >;
          sys_created_by: Typed<
              string,
              { label: [{ label: "Created by"; language: "en"; plural: "Created by" }] },
          >;
          sys_created_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
          >;
          sys_domain: Typed<
              Record<"domain">
              | "global",
              {
                  default: "global";
                  label: [
                      {
                          hint: "Domain to which the task belongs";
                          label: "Domain";
                          language: "en";
                          plural: "Domains";
                      },
                  ];
              },
          >;
          sys_domain_path: Typed<
              string,
              {
                  attributes: { case_sensitive: true };
                  default: "/";
                  label: "Domain Path";
              },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          sys_mod_count: Typed<
              number,
              { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
          >;
          sys_updated_by: Typed<
              string,
              { label: [{ label: "Updated by"; language: "en"; plural: "Updated by" }] },
          >;
          sys_updated_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
          >;
          task_effective_number: Typed<
              string,
              {
                  attributes: { ignore_filter_on_new: true; no_text_index: true };
                  dynamicValueDefinitions: {
                      calculatedValue: "current.universal_request.nil() ? current.number: current.universal_request.number";
                      type: "calculated_value";
                  };
                  label: "Effective number";
                  readOnly: true;
              },
          >;
          time_worked: Typed<
              string
              | number,
              { columnType: "timer"; label: "Time worked" },
          >;
          universal_request: Typed<
              string
              | Record<"task">
              | ExplicitKey<"task">
              | TableBrand<"task">,
              {
                  attributes: { encode_utf8: false };
                  cascadeRule: "none";
                  label: "Universal Request";
                  referenceQual: "javascript:'sys_class_name=universal_request'";
                  referenceTable: "task";
              },
          >;
          upon_approval: Typed<
              string,
              {
                  default: "proceed";
                  dropdown: "dropdown_with_none";
                  label: "Upon approval";
              },
          >;
          upon_reject: Typed<
              string,
              {
                  default: "cancel";
                  dropdown: "dropdown_with_none";
                  label: "Upon reject";
              },
          >;
          urgency: Typed<
              number,
              {
                  default: "3";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "Measure of the business criticality based on the impact and on the business needs of the Customer";
                          label: "Urgency";
                          language: "en";
                          plural: "Urgencies";
                      },
                  ];
              },
          >;
          user_input: Typed<
              string
              | number,
              { columnType: "user_input"; label: "User input"; maxLength: 4000 },
          >;
          variables: Typed<
              string
              | number,
              { active: false; columnType: "variables"; label: "Variables" },
          >;
          watch_list: Typed<
              string
              | string[]
              | Record<"sys_user">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: [
                      {
                          hint: "Interested users";
                          label: "Watch list";
                          language: "en";
                          plural: "Watch lists";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          wf_activity: Typed<
              | string
              | Record<"wf_activity">
              | ExplicitKey<"wf_activity">
              | TableBrand<"wf_activity">,
              {
                  active: false;
                  attributes: { encode_utf8: false };
                  cascadeRule: "clear";
                  label: "Workflow activity";
                  referenceTable: "wf_activity";
              },
          >;
          work_end: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  attributes: { sla_closure: true; timeDimension: true };
                  label: [{ label: "Actual end"; language: "en"; plural: "Actual end" }];
              },
          >;
          work_notes: Typed<
              string
              | number,
              {
                  columnType: "journal_input";
                  label: "Work notes";
                  maxLength: 4000;
                  spellCheck: true;
              },
          >;
          work_notes_list: Typed<
              string
              | string[]
              | Record<"sys_user">[],
              {
                  attributes: {
                      array: "denormalized";
                      no_sort: true;
                      slushbucket_ref_no_expand: true;
                  };
                  label: [
                      {
                          hint: "Users interested in work notes";
                          label: "Work notes list";
                          language: "en";
                          plural: "Work notes lists";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          work_start: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  attributes: { sla_basis: true; timeDimension: true };
                  label: [
                      { label: "Actual start"; language: "en"; plural: "Actual start" },
                  ];
              },
          >;
      }
    • ReadonlytextIndex: true