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 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 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;
}
Source§readonly authentication?: "oAuth2" | "basicAuth"
readonly authentication?: "oAuth2" | "basicAuth"
Authentication method to use Default: "oAuth2"
Source§readonly fields To Send?: { field: { column?: string; value?: string }[] }
readonly fields To Send?: { field: { column?: string; value?: string }[] }
Default: {} Type options: {"multipleValues":true}
Source§readonly id?: string
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 input Data Field Name?: string
readonly input Data Field Name?: string
Name of the binary property that contains the data to upload Default: "data"
Source§readonly inputs To Ignore?: string
readonly inputs To Ignore?: string
List of input properties to avoid sending, separated by commas. Leave empty to send all inputs.
Source§readonly limit?: number
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"
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[];
}
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 resource?:
| "user"
| "userGroup"
| "department"
| "attachment"
| "incident"
| "businessService"
| "configurationItems"
| "dictionary"
| "tableRecord"
| "userRole"
readonly resource?:
| "user"
| "userGroup"
| "department"
| "attachment"
| "incident"
| "businessService"
| "configurationItems"
| "dictionary"
| "tableRecord"
| "userRole"
Default: "user"
Source§readonly table Name?: string
readonly table Name?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getTables"}
Source§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;
}
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: {}
Default: {}