Interface ServiceNowNodeParameters

Source
interface ServiceNowNodeParameters {
    additionalFields?:
        | {
            assigned_to?: string;
            assignment_group?: string;
            business_service?: string;
            caller_id?: string;
            category?: string;
            close_code?: string;
            close_notes?: string;
            cmdb_ci?: unknown[];
            contact_type?: | "email"
            | "phone"
            | "self-service"
            | "walk-in";
            description?: string;
            impact?: 1
            | 3
            | 2;
            state?: string;
            subcategory?: string;
            urgency?: 1 | 3 | 2;
        }
        | {
            active?: boolean;
            building?: string;
            city?: string;
            company?: string;
            country?: string;
            department?: string;
            email?: string;
            first_name?: string;
            gender?: string;
            home_phone?: string;
            last_name?: string;
            location?: string;
            manager?: string;
            middle_name?: string;
            mobile_phone?: string;
            password_needs_reset?: boolean;
            phone?: string;
            roles?: unknown[];
            source?: string;
            state?: string;
            street?: string;
            user_name?: string;
            user_password?: string;
            zip?: string;
        };
    attachmentId?: string;
    authentication?: "oAuth2"
    | "basicAuth";
    dataToSend?: "nothing" | "columns" | "mapInput";
    download?: boolean;
    fieldsToSend?: {
        field: { column?: string; value?: string }[];
    };
    getOption?: "id"
    | "user_name";
    id?: string;
    inputDataFieldName?: string;
    inputsToIgnore?: string;
    limit?: number;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete"
        | "upload";
    options?: | { file_name?: string }
    | { queryFilter?: string }
    | {
        sysparm_display_value?: "all" | "true" | "false";
        sysparm_exclude_reference_link?: boolean;
        sysparm_fields?: unknown[];
        sysparm_query?: string;
    }
    | {
        sysparm_display_value?: "all"
        | "true"
        | "false";
        sysparm_exclude_reference_link?: boolean;
        sysparm_fields?: unknown[];
    };
    outputField?: string;
    resource?: | "user"
    | "userGroup"
    | "department"
    | "attachment"
    | "incident"
    | "businessService"
    | "configurationItems"
    | "dictionary"
    | "tableRecord"
    | "userRole";
    returnAll?: boolean;
    short_description?: string;
    tableName?: string;
    updateFields?: | {
        assigned_to?: string;
        assignment_group?: string;
        business_service?: string;
        caller_id?: string;
        category?: string;
        close_code?: string;
        close_notes?: string;
        cmdb_ci?: unknown[];
        contact_type?: | "email"
        | "phone"
        | "self-service"
        | "walk-in";
        description?: string;
        hold_reason?: string;
        impact?: 1
        | 3
        | 2;
        state?: string;
        subcategory?: string;
        urgency?: 1 | 3 | 2;
        work_notes?: string;
    }
    | {
        active?: boolean;
        building?: string;
        city?: string;
        company?: string;
        country?: string;
        department?: string;
        email?: string;
        first_name?: string;
        gender?: string;
        home_phone?: string;
        last_name?: string;
        location?: string;
        manager?: string;
        middle_name?: string;
        mobile_phone?: string;
        password_needs_reset?: boolean;
        phone?: string;
        roles?: unknown[];
        source?: string;
        state?: string;
        street?: string;
        user_name?: string;
        user_password?: string;
        zip?: string;
    };
    user_name?: string;
}

Properties§

Source§

readonly additionalFields?:
    | {
        assigned_to?: string;
        assignment_group?: string;
        business_service?: string;
        caller_id?: string;
        category?: string;
        close_code?: string;
        close_notes?: string;
        cmdb_ci?: unknown[];
        contact_type?: | "email"
        | "phone"
        | "self-service"
        | "walk-in";
        description?: string;
        impact?: 1
        | 3
        | 2;
        state?: string;
        subcategory?: string;
        urgency?: 1 | 3 | 2;
    }
    | {
        active?: boolean;
        building?: string;
        city?: string;
        company?: string;
        country?: string;
        department?: string;
        email?: string;
        first_name?: string;
        gender?: string;
        home_phone?: string;
        last_name?: string;
        location?: string;
        manager?: string;
        middle_name?: string;
        mobile_phone?: string;
        password_needs_reset?: boolean;
        phone?: string;
        roles?: unknown[];
        source?: string;
        state?: string;
        street?: string;
        user_name?: string;
        user_password?: string;
        zip?: string;
    }

Default: {}

Source§

readonly attachmentId?: string

Sys_id value of the attachment to delete

Source§

readonly authentication?: "oAuth2" | "basicAuth"

Authentication method to use Default: "oAuth2"

Source§

readonly dataToSend?: "nothing" | "columns" | "mapInput"

Default: "columns"

Source§

readonly download?: boolean

Source§

readonly fieldsToSend?: { field: { column?: string; value?: string }[] }

Default: {} Type options: {"multipleValues":true}

Source§

readonly getOption?: "id" | "user_name"

Unique identifier of the user Default: "id"

Source§

readonly id?: string

Sys_id of the record in the table specified in Table Name that you want to attach the file to

Source§

readonly inputDataFieldName?: string

Name of the binary property that contains the data to upload Default: "data"

Source§

readonly inputsToIgnore?: string

List of input properties to avoid sending, separated by commas. Leave empty to send all inputs.

Source§

readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":500}

Source§

readonly operation?: "create" | "get" | "getAll" | "update" | "delete" | "upload"

Default: "upload"

Source§

readonly options?:
    | { file_name?: string }
    | { queryFilter?: string }
    | {
        sysparm_display_value?: "all" | "true" | "false";
        sysparm_exclude_reference_link?: boolean;
        sysparm_fields?: unknown[];
        sysparm_query?: string;
    }
    | {
        sysparm_display_value?: "all"
        | "true"
        | "false";
        sysparm_exclude_reference_link?: boolean;
        sysparm_fields?: unknown[];
    }

Default: {}

Source§

readonly outputField?: string

Field name where downloaded data will be placed Default: "data"

Source§

readonly resource?:
    | "user"
    | "userGroup"
    | "department"
    | "attachment"
    | "incident"
    | "businessService"
    | "configurationItems"
    | "dictionary"
    | "tableRecord"
    | "userRole"

Default: "user"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly short_description?: string

Short description of the incident

Source§

readonly tableName?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getTables"}

Source§

readonly updateFields?:
    | {
        assigned_to?: string;
        assignment_group?: string;
        business_service?: string;
        caller_id?: string;
        category?: string;
        close_code?: string;
        close_notes?: string;
        cmdb_ci?: unknown[];
        contact_type?: | "email"
        | "phone"
        | "self-service"
        | "walk-in";
        description?: string;
        hold_reason?: string;
        impact?: 1
        | 3
        | 2;
        state?: string;
        subcategory?: string;
        urgency?: 1 | 3 | 2;
        work_notes?: string;
    }
    | {
        active?: boolean;
        building?: string;
        city?: string;
        company?: string;
        country?: string;
        department?: string;
        email?: string;
        first_name?: string;
        gender?: string;
        home_phone?: string;
        last_name?: string;
        location?: string;
        manager?: string;
        middle_name?: string;
        mobile_phone?: string;
        password_needs_reset?: boolean;
        phone?: string;
        roles?: unknown[];
        source?: string;
        state?: string;
        street?: string;
        user_name?: string;
        user_password?: string;
        zip?: string;
    }

Default: {}

Source§

readonly user_name?: string

Unique identifier of the user