@servicenow/sdk - v4.4.1
    Preparing search index...
    interface problem {
        category: Typed<
            string
            | number,
            { dropdown: "dropdown_with_none"; label: "Category" },
        >;
        cause_notes: Typed<string, { label: "Cause notes" }>;
        confirmed_at: Typed<
            `${number}-${number}-${number} ${number}:${number}:${number}`,
            {
                label: "Confirmed";
                readOnly: true;
                readOnlyOption: "instance_configured";
            },
        >;
        confirmed_by: Typed<
            | string
            | Record<"sys_user">
            | ExplicitKey<"sys_user">
            | TableBrand<"sys_user">,
            {
                attributes: { encode_utf8: false; ignore_filter_on_new: true };
                label: "Confirmed by";
                readOnly: true;
                readOnlyOption: "instance_configured";
                referenceFloats: true;
                referenceTable: "sys_user";
            },
        >;
        duplicate_of: Typed<
            | string
            | Record<"problem">
            | ExplicitKey<"problem">
            | TableBrand<"problem">,
            {
                attributes: { encode_utf8: false };
                label: [
                    {
                        hint: "Which problem is this a duplicate of";
                        label: "Duplicate of";
                        language: "en";
                        plural: "Duplicate ofs";
                    },
                ];
                referenceFloats: true;
                referenceQual: "javascript:'sys_id!=' + current.sys_id + '^duplicate_ofISEMPTY^EQ'";
                referenceTable: "problem";
            },
        >;
        first_reported_by_task: Typed<
            string
            | Record<"task">
            | ExplicitKey<"task">
            | TableBrand<"task">,
            {
                attributes: { encode_utf8: false; ignore_filter_on_new: true };
                label: [
                    {
                        hint: "The Task that first identified this Problem";
                        label: "Origin task";
                        language: "en";
                        plural: "Origin tasks";
                    },
                ];
                referenceFloats: true;
                referenceQual: "javascript:'sys_id!=' + current.sys_id + '^active=true^EQ';";
                referenceTable: "task";
            },
        >;
        fix_at: Typed<
            `${number}-${number}-${number} ${number}:${number}:${number}`,
            { label: "Fix"; readOnly: true; readOnlyOption: "instance_configured" },
        >;
        fix_by: Typed<
            | string
            | Record<"sys_user">
            | ExplicitKey<"sys_user">
            | TableBrand<"sys_user">,
            {
                attributes: { encode_utf8: false; ignore_filter_on_new: true };
                label: "Fix by";
                readOnly: true;
                readOnlyOption: "instance_configured";
                referenceFloats: true;
                referenceTable: "sys_user";
            },
        >;
        fix_communicated_at: Typed<
            `${number}-${number}-${number} ${number}:${number}:${number}`,
            {
                label: "Fix communicated";
                readOnly: true;
                readOnlyOption: "instance_configured";
            },
        >;
        fix_communicated_by: Typed<
            | string
            | Record<"sys_user">
            | ExplicitKey<"sys_user">
            | TableBrand<"sys_user">,
            {
                attributes: { encode_utf8: false; ignore_filter_on_new: true };
                label: "Fix communicated by";
                readOnly: true;
                readOnlyOption: "instance_configured";
                referenceFloats: true;
                referenceTable: "sys_user";
            },
        >;
        fix_notes: Typed<string, { label: "Fix notes" }>;
        known_error: Typed<
            boolean,
            {
                label: [
                    {
                        hint: "Root cause has been determined and there is a workaround but there is NO permanent fix";
                        label: "Known error";
                        language: "en";
                        plural: "Known errors";
                    },
                ];
            },
        >;
        major_problem: Typed<
            boolean,
            {
                default: false;
                label: [
                    {
                        hint: "If checked the Review outcome field will become visible and should be completed";
                        label: "Major problem";
                        language: "en";
                        plural: "Major problems";
                    },
                ];
            },
        >;
        prb_model: Typed<
            | string
            | Record<"prb_model">
            | ExplicitKey<"prb_model">
            | TableBrand<"prb_model">,
            {
                attributes: { encode_utf8: false };
                default: "javascript:ProblemModel.getDefaultModelValue(current);";
                label: "Model";
                referenceTable: "prb_model";
            },
        >;
        primary_known_error_article: Typed<
            | string
            | Record<"kb_template_known_error_article">
            | ExplicitKey<"kb_template_known_error_article">
            | TableBrand<"kb_template_known_error_article">,
            {
                attributes: { encode_utf8: false; readonly_clickthrough: true };
                label: [
                    {
                        hint: "The Primary Known Error article related to this Problem";
                        label: "Primary Known Error article";
                        language: "en";
                        plural: "Primary Known Error articles";
                    },
                ];
                referenceQual: "active=true";
                referenceTable: "kb_template_known_error_article";
            },
        >;
        problem_state: Typed<
            number,
            {
                default: "1";
                dropdown: "dropdown_with_none";
                dynamicValueDefinitions: {
                    field: "state";
                    table: "problem";
                    type: "choices_from_other_table";
                };
                label: "Problem state";
            },
        >;
        related_incidents: Typed<
            number,
            {
                default: "0";
                label: [
                    {
                        hint: "Number of Incidents related to this Problem";
                        label: "Related Incidents";
                        language: "en";
                        plural: "Related Incidents";
                    },
                ];
            },
        >;
        reopen_count: Typed<
            number,
            {
                attributes: { ignore_filter_on_new: true };
                default: "0";
                label: [
                    {
                        hint: "Number of times Problem state has changed from Resolved or Closed to another state";
                        label: "Reopen count";
                        language: "en";
                        plural: "Reopen counts";
                    },
                ];
                readOnly: true;
                readOnlyOption: "instance_configured";
            },
        >;
        reopened_at: Typed<
            `${number}-${number}-${number} ${number}:${number}:${number}`,
            {
                label: "Last reopened at";
                readOnly: true;
                readOnlyOption: "instance_configured";
            },
        >;
        reopened_by: Typed<
            | string
            | Record<"sys_user">
            | ExplicitKey<"sys_user">
            | TableBrand<"sys_user">,
            {
                attributes: { encode_utf8: false; ignore_filter_on_new: true };
                label: "Last reopened by";
                readOnly: true;
                readOnlyOption: "instance_configured";
                referenceFloats: true;
                referenceTable: "sys_user";
            },
        >;
        resolution_code: Typed<
            string
            | number,
            {
                attributes: { ignore_filter_on_new: true };
                dropdown: "dropdown_with_none";
                label: "Resolution code";
                readOnly: true;
                readOnlyOption: "instance_configured";
            },
        >;
        resolved_at: Typed<
            `${number}-${number}-${number} ${number}:${number}:${number}`,
            {
                label: "Resolved";
                readOnly: true;
                readOnlyOption: "instance_configured";
            },
        >;
        resolved_by: Typed<
            | string
            | Record<"sys_user">
            | ExplicitKey<"sys_user">
            | TableBrand<"sys_user">,
            {
                attributes: { encode_utf8: false; ignore_filter_on_new: true };
                label: "Resolved by";
                readOnly: true;
                readOnlyOption: "instance_configured";
                referenceFloats: true;
                referenceTable: "sys_user";
            },
        >;
        review_outcome: Typed<
            string,
            {
                label: [
                    {
                        hint: "Document review results and lessons learned";
                        label: "Major problem review notes";
                        language: "en";
                        plural: "Major problem review notes";
                    },
                ];
                maxLength: 4000;
            },
        >;
        rfc: Typed<
            | string
            | Record<"change_request">
            | ExplicitKey<"change_request">
            | TableBrand<"change_request">,
            {
                attributes: { encode_utf8: false };
                label: "Change request";
                referenceFloats: true;
                referenceTable: "change_request";
            },
        >;
        subcategory: Typed<
            string
            | number,
            {
                dependent: "category";
                dropdown: "dropdown_with_none";
                label: "Subcategory";
            },
        >;
        sys_id: Typed<
            string,
            {
                label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                primary: true;
            },
        >;
        workaround: Typed<string, { label: "Workaround" }>;
        workaround_applied: Typed<
            boolean,
            { default: false; label: "Workaround applied" },
        >;
        workaround_communicated_at: Typed<
            `${number}-${number}-${number} ${number}:${number}:${number}`,
            {
                label: "Workaround communicated";
                readOnly: true;
                readOnlyOption: "instance_configured";
            },
        >;
        workaround_communicated_by: Typed<
            | string
            | Record<"sys_user">
            | ExplicitKey<"sys_user">
            | TableBrand<"sys_user">,
            {
                attributes: { encode_utf8: false; ignore_filter_on_new: true };
                label: "Workaround communicated by";
                readOnly: true;
                readOnlyOption: "instance_configured";
                referenceFloats: true;
                referenceTable: "sys_user";
            },
        >;
    }

    Hierarchy (View Summary)

    Index

    Properties

    category: Typed<
        string
        | number,
        { dropdown: "dropdown_with_none"; label: "Category" },
    >
    cause_notes: Typed<string, { label: "Cause notes" }>
    confirmed_at: Typed<
        `${number}-${number}-${number} ${number}:${number}:${number}`,
        {
            label: "Confirmed";
            readOnly: true;
            readOnlyOption: "instance_configured";
        },
    >
    confirmed_by: Typed<
        | string
        | Record<"sys_user">
        | ExplicitKey<"sys_user">
        | TableBrand<"sys_user">,
        {
            attributes: { encode_utf8: false; ignore_filter_on_new: true };
            label: "Confirmed by";
            readOnly: true;
            readOnlyOption: "instance_configured";
            referenceFloats: true;
            referenceTable: "sys_user";
        },
    >
    duplicate_of: Typed<
        | string
        | Record<"problem">
        | ExplicitKey<"problem">
        | TableBrand<"problem">,
        {
            attributes: { encode_utf8: false };
            label: [
                {
                    hint: "Which problem is this a duplicate of";
                    label: "Duplicate of";
                    language: "en";
                    plural: "Duplicate ofs";
                },
            ];
            referenceFloats: true;
            referenceQual: "javascript:'sys_id!=' + current.sys_id + '^duplicate_ofISEMPTY^EQ'";
            referenceTable: "problem";
        },
    >
    first_reported_by_task: Typed<
        string
        | Record<"task">
        | ExplicitKey<"task">
        | TableBrand<"task">,
        {
            attributes: { encode_utf8: false; ignore_filter_on_new: true };
            label: [
                {
                    hint: "The Task that first identified this Problem";
                    label: "Origin task";
                    language: "en";
                    plural: "Origin tasks";
                },
            ];
            referenceFloats: true;
            referenceQual: "javascript:'sys_id!=' + current.sys_id + '^active=true^EQ';";
            referenceTable: "task";
        },
    >
    fix_at: Typed<
        `${number}-${number}-${number} ${number}:${number}:${number}`,
        { label: "Fix"; readOnly: true; readOnlyOption: "instance_configured" },
    >
    fix_by: Typed<
        | string
        | Record<"sys_user">
        | ExplicitKey<"sys_user">
        | TableBrand<"sys_user">,
        {
            attributes: { encode_utf8: false; ignore_filter_on_new: true };
            label: "Fix by";
            readOnly: true;
            readOnlyOption: "instance_configured";
            referenceFloats: true;
            referenceTable: "sys_user";
        },
    >
    fix_communicated_at: Typed<
        `${number}-${number}-${number} ${number}:${number}:${number}`,
        {
            label: "Fix communicated";
            readOnly: true;
            readOnlyOption: "instance_configured";
        },
    >
    fix_communicated_by: Typed<
        | string
        | Record<"sys_user">
        | ExplicitKey<"sys_user">
        | TableBrand<"sys_user">,
        {
            attributes: { encode_utf8: false; ignore_filter_on_new: true };
            label: "Fix communicated by";
            readOnly: true;
            readOnlyOption: "instance_configured";
            referenceFloats: true;
            referenceTable: "sys_user";
        },
    >
    fix_notes: Typed<string, { label: "Fix notes" }>
    known_error: Typed<
        boolean,
        {
            label: [
                {
                    hint: "Root cause has been determined and there is a workaround but there is NO permanent fix";
                    label: "Known error";
                    language: "en";
                    plural: "Known errors";
                },
            ];
        },
    >
    major_problem: Typed<
        boolean,
        {
            default: false;
            label: [
                {
                    hint: "If checked the Review outcome field will become visible and should be completed";
                    label: "Major problem";
                    language: "en";
                    plural: "Major problems";
                },
            ];
        },
    >
    prb_model: Typed<
        | string
        | Record<"prb_model">
        | ExplicitKey<"prb_model">
        | TableBrand<"prb_model">,
        {
            attributes: { encode_utf8: false };
            default: "javascript:ProblemModel.getDefaultModelValue(current);";
            label: "Model";
            referenceTable: "prb_model";
        },
    >

    Readonlyprimary_known_error_article

    primary_known_error_article: Typed<
        | string
        | Record<"kb_template_known_error_article">
        | ExplicitKey<"kb_template_known_error_article">
        | TableBrand<"kb_template_known_error_article">,
        {
            attributes: { encode_utf8: false; readonly_clickthrough: true };
            label: [
                {
                    hint: "The Primary Known Error article related to this Problem";
                    label: "Primary Known Error article";
                    language: "en";
                    plural: "Primary Known Error articles";
                },
            ];
            referenceQual: "active=true";
            referenceTable: "kb_template_known_error_article";
        },
    >
    problem_state: Typed<
        number,
        {
            default: "1";
            dropdown: "dropdown_with_none";
            dynamicValueDefinitions: {
                field: "state";
                table: "problem";
                type: "choices_from_other_table";
            };
            label: "Problem state";
        },
    >
    related_incidents: Typed<
        number,
        {
            default: "0";
            label: [
                {
                    hint: "Number of Incidents related to this Problem";
                    label: "Related Incidents";
                    language: "en";
                    plural: "Related Incidents";
                },
            ];
        },
    >
    reopen_count: Typed<
        number,
        {
            attributes: { ignore_filter_on_new: true };
            default: "0";
            label: [
                {
                    hint: "Number of times Problem state has changed from Resolved or Closed to another state";
                    label: "Reopen count";
                    language: "en";
                    plural: "Reopen counts";
                },
            ];
            readOnly: true;
            readOnlyOption: "instance_configured";
        },
    >
    reopened_at: Typed<
        `${number}-${number}-${number} ${number}:${number}:${number}`,
        {
            label: "Last reopened at";
            readOnly: true;
            readOnlyOption: "instance_configured";
        },
    >
    reopened_by: Typed<
        | string
        | Record<"sys_user">
        | ExplicitKey<"sys_user">
        | TableBrand<"sys_user">,
        {
            attributes: { encode_utf8: false; ignore_filter_on_new: true };
            label: "Last reopened by";
            readOnly: true;
            readOnlyOption: "instance_configured";
            referenceFloats: true;
            referenceTable: "sys_user";
        },
    >
    resolution_code: Typed<
        string
        | number,
        {
            attributes: { ignore_filter_on_new: true };
            dropdown: "dropdown_with_none";
            label: "Resolution code";
            readOnly: true;
            readOnlyOption: "instance_configured";
        },
    >
    resolved_at: Typed<
        `${number}-${number}-${number} ${number}:${number}:${number}`,
        {
            label: "Resolved";
            readOnly: true;
            readOnlyOption: "instance_configured";
        },
    >
    resolved_by: Typed<
        | string
        | Record<"sys_user">
        | ExplicitKey<"sys_user">
        | TableBrand<"sys_user">,
        {
            attributes: { encode_utf8: false; ignore_filter_on_new: true };
            label: "Resolved by";
            readOnly: true;
            readOnlyOption: "instance_configured";
            referenceFloats: true;
            referenceTable: "sys_user";
        },
    >
    review_outcome: Typed<
        string,
        {
            label: [
                {
                    hint: "Document review results and lessons learned";
                    label: "Major problem review notes";
                    language: "en";
                    plural: "Major problem review notes";
                },
            ];
            maxLength: 4000;
        },
    >
    rfc: Typed<
        | string
        | Record<"change_request">
        | ExplicitKey<"change_request">
        | TableBrand<"change_request">,
        {
            attributes: { encode_utf8: false };
            label: "Change request";
            referenceFloats: true;
            referenceTable: "change_request";
        },
    >
    subcategory: Typed<
        string
        | number,
        {
            dependent: "category";
            dropdown: "dropdown_with_none";
            label: "Subcategory";
        },
    >
    sys_id: Typed<
        string,
        {
            label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
            primary: true;
        },
    >
    workaround: Typed<string, { label: "Workaround" }>
    workaround_applied: Typed<
        boolean,
        { default: false; label: "Workaround applied" },
    >
    workaround_communicated_at: Typed<
        `${number}-${number}-${number} ${number}:${number}:${number}`,
        {
            label: "Workaround communicated";
            readOnly: true;
            readOnlyOption: "instance_configured";
        },
    >
    workaround_communicated_by: Typed<
        | string
        | Record<"sys_user">
        | ExplicitKey<"sys_user">
        | TableBrand<"sys_user">,
        {
            attributes: { encode_utf8: false; ignore_filter_on_new: true };
            label: "Workaround communicated by";
            readOnly: true;
            readOnlyOption: "instance_configured";
            referenceFloats: true;
            referenceTable: "sys_user";
        },
    >