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§
readonly additional Fields?:
| {
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;
}readonly attachment Id?: stringSys_id value of the attachment to delete
readonly authentication?: "oAuth2" | "basicAuth"Authentication method to use Default: "oAuth2"
readonly data To Send?: "nothing" | "columns" | "mapInput"Default: "columns"
readonly download?: boolean§readonly fields To Send?: { ... }Default: {} Type options: {"multipleValues":true}
readonly get Option?: "id" | "user_name"Unique identifier of the user Default: "id"
readonly id?: stringSys_id of the record in the table specified in Table Name that you want to attach the file to
readonly input Data Field Name?: stringName of the binary property that contains the data to upload Default: "data"
readonly inputs To Ignore?: stringList of input properties to avoid sending, separated by commas. Leave empty to send all inputs.
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":500}
readonly operation?: "create" | "get" | "getAll" | "update" | "delete" | "upload"Default: "upload"
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: {}
readonly output Field?: stringField name where downloaded data will be placed Default: "data"
readonly resource?:
| "user"
| "userGroup"
| "department"
| "attachment"
| "incident"
| "businessService"
| "configurationItems"
| "dictionary"
| "tableRecord"
| "userRole"Default: "user"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly short _ description?: stringShort description of the incident
readonly table Name?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getTables"}
readonly update Fields?:
| {
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: {}
readonly user _ name?: stringUnique identifier of the user
Default: {}