Use ServiceNow in Sim to create or update incidents and change requests, order catalog items, and process approvals. Read configuration items, knowledge articles, users, and groups, and transfer attachments. Generic record and aggregate operations accept a table name, such as incident, task, change_request, or sys_user, and the fields required by the operation. List Attachments and Upload Attachment also require a table name. Connect with your ServiceNow instance URL, username, and password.
Create or update incidents and change requests, order catalog items, and process approvals. Read configuration items, knowledge articles, users, and groups, and transfer attachments. Generic record, aggregate, and table-scoped attachment operations accept a table name. Connect with your ServiceNow instance URL, username, and password.
Encoded query string to filter records before aggregating (e.g., "active=true")
count
boolean
No
Return the count of matching records
groupBy
string
No
Comma-separated fields to group results by (e.g., category,priority)
avgFields
string
No
Comma-separated numeric fields to average (e.g., reassignment_count)
sumFields
string
No
Comma-separated numeric fields to sum
minFields
string
No
Comma-separated fields to compute the minimum of
maxFields
string
No
Comma-separated fields to compute the maximum of
having
string
No
Filter on aggregate results, written as aggregate^field^operator^value and comma-separated for more than one (e.g., "count^priority^>^3" or "count^state^=^1,avg^priority^>^3")
displayValue
string
No
Return display values for grouped reference fields: "true", "false", or "all"
Create an incident in ServiceNow. Reference fields (caller, assignment group, assigned to, configuration item) take sys_ids unless input display value is enabled.
Customer-visible additional comment to record on creation.
additionalFields
json
No
Any other ServiceNow fields to set, as a JSON object of raw column names (e.g., {"correlation_id": "abc-123", "u_custom": "x"}). Merged last, so it overrides the named parameters.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Retrieve a single ServiceNow incident by number (e.g., INC0010001) or sys_id. Reference fields are returned with both their sys_id and their label by default.
Record sys_id. Provide either this or the record number.
number
string
No
Record number (e.g., INC0010001). Provide either this or the sys_id.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Text to match against the incident short description using the ServiceNow LIKE operator, which matches anywhere in the field.
state
string
No
Incident state coded value. Base system: 1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed, 8=Canceled.
priority
string
No
Priority coded value 1-5 (1 Critical … 5 Planning).
assignmentGroup
string
No
sys_id of the assignment group.
assignedTo
string
No
sys_id of the assigned user.
callerId
string
No
sys_id of the caller.
active
string
No
Restrict to active ("true") or inactive ("false") incidents.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Update fields on an existing ServiceNow incident. Only the fields you supply are changed. Reference fields take sys_ids unless input display value is enabled.
sys_id of the record to update. If you only have the record number, look it up first (for example with Get ServiceNow Incident).
shortDescription
string
No
New short description.
description
string
No
New detailed description.
state
string
No
Incident state coded value. Base system: 1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed, 8=Canceled. Use Resolve or Close ServiceNow Incident for those transitions so the resolution fields are populated.
impact
string
No
Impact: 1 (High), 2 (Medium), or 3 (Low).
urgency
string
No
Urgency: 1 (High), 2 (Medium), or 3 (Low).
priority
string
No
Priority coded value 1-5 (1 Critical … 5 Planning).
category
string
No
Category.
subcategory
string
No
Subcategory.
assignmentGroup
string
No
Assignment group (assignment_group) — sys_id of the sys_user_group.
assignedTo
string
No
Assigned to (assigned_to) — sys_id of the sys_user.
cmdbCi
string
No
Configuration item (cmdb_ci) — sys_id of the affected CI.
workNotes
string
No
Internal work note to append.
comments
string
No
Customer-visible additional comment to append.
additionalFields
json
No
Any other ServiceNow fields to set, as a JSON object of raw column names (e.g., {"correlation_id": "abc-123", "u_custom": "x"}). Merged last, so it overrides the named parameters.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
sys_id of the record to update. If you only have the record number, look it up first (for example with Get ServiceNow Incident).
closeCode
string
Yes
Resolution code (close_code). This is a choice field whose values are configured per instance — read the choice list on your incident table and pass one of its values.
closeNotes
string
Yes
Resolution notes (close_notes) documenting how the incident was resolved.
workNotes
string
No
Additional internal work note to append.
additionalFields
json
No
Any other ServiceNow fields to set, as a JSON object of raw column names (e.g., {"correlation_id": "abc-123", "u_custom": "x"}). Merged last, so it overrides the named parameters.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Move a ServiceNow incident to Closed (state 7) with a resolution code and resolution notes. Which roles may close an incident is instance-configurable, so the credential may need elevated rights.
sys_id of the record to update. If you only have the record number, look it up first (for example with Get ServiceNow Incident).
closeCode
string
Yes
Resolution code (close_code). This is a choice field whose values are configured per instance — read the choice list on your incident table and pass one of its values.
closeNotes
string
Yes
Resolution notes (close_notes) documenting how the incident was resolved.
workNotes
string
No
Additional internal work note to append.
additionalFields
json
No
Any other ServiceNow fields to set, as a JSON object of raw column names (e.g., {"correlation_id": "abc-123", "u_custom": "x"}). Merged last, so it overrides the named parameters.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Append an internal work note or a customer-visible additional comment to a ServiceNow incident. Both are journal fields, so the text is appended rather than replacing earlier entries.
sys_id of the record to update. If you only have the record number, look it up first (for example with Get ServiceNow Incident).
comment
string
Yes
Text to append to the journal field.
commentField
string
No
Which journal field to write to: "work_notes" for an internal note (default) or "comments" for a customer-visible additional comment.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Create a change request in ServiceNow. Reference fields (assignment group, assigned to, requested by, configuration item) take sys_ids unless input display value is enabled.
Short description — the one-line summary of the change.
description
string
No
Detailed description of the change.
type
string
No
Change type: "normal", "standard", or "emergency".
category
string
No
Change category.
risk
string
No
Risk coded value. The choice list is configured per instance.
impact
string
No
Impact: 1 (High), 2 (Medium), or 3 (Low).
priority
string
No
Priority coded value 1-5 (1 Critical … 5 Planning).
assignmentGroup
string
No
Assignment group (assignment_group) — sys_id of the sys_user_group.
assignedTo
string
No
Assigned to (assigned_to) — sys_id of the sys_user.
requestedBy
string
No
Requested by (requested_by) — sys_id of the sys_user.
cmdbCi
string
No
Configuration item (cmdb_ci) — sys_id of the CI being changed.
startDate
string
No
Planned start date (start_date) as "YYYY-MM-DD HH:mm:ss" in UTC.
endDate
string
No
Planned end date (end_date) as "YYYY-MM-DD HH:mm:ss" in UTC.
justification
string
No
Justification for making the change.
implementationPlan
string
No
Implementation plan.
backoutPlan
string
No
Backout plan.
testPlan
string
No
Test plan.
additionalFields
json
No
Any other ServiceNow fields to set, as a JSON object of raw column names (e.g., {"correlation_id": "abc-123", "u_custom": "x"}). Merged last, so it overrides the named parameters.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Retrieve a single ServiceNow change request by number (e.g., CHG0030001) or sys_id. Reference fields are returned with both their sys_id and their label by default.
Record sys_id. Provide either this or the record number.
number
string
No
Record number (e.g., INC0010001). Provide either this or the sys_id.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Text to match against the change short description using the ServiceNow LIKE operator, which matches anywhere in the field.
state
string
No
Change state coded value. Base system: -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled.
type
string
No
Change type: "normal", "standard", or "emergency".
risk
string
No
Risk coded value. The choice list is configured per instance.
assignmentGroup
string
No
sys_id of the assignment group.
assignedTo
string
No
sys_id of the assigned user.
active
string
No
Restrict to active ("true") or inactive ("false") change requests.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Update fields on an existing ServiceNow change request. Only the fields you supply are changed. Use Move ServiceNow Change State for state transitions.
sys_id of the record to update. If you only have the record number, look it up first (for example with Get ServiceNow Incident).
shortDescription
string
No
New short description.
description
string
No
New detailed description.
state
string
No
Change state coded value. Base system: -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled.
risk
string
No
Risk coded value. The choice list is configured per instance.
impact
string
No
Impact: 1 (High), 2 (Medium), or 3 (Low).
priority
string
No
Priority coded value 1-5 (1 Critical … 5 Planning).
assignmentGroup
string
No
Assignment group (assignment_group) — sys_id of the sys_user_group.
assignedTo
string
No
Assigned to (assigned_to) — sys_id of the sys_user.
startDate
string
No
Planned start date (start_date) as "YYYY-MM-DD HH:mm:ss" in UTC.
endDate
string
No
Planned end date (end_date) as "YYYY-MM-DD HH:mm:ss" in UTC.
closeCode
string
No
Close code: "successful", "successful_issues", or "unsuccessful". Required when closing a change.
closeNotes
string
No
Close notes describing the outcome of the change.
workNotes
string
No
Internal work note to append.
additionalFields
json
No
Any other ServiceNow fields to set, as a JSON object of raw column names (e.g., {"correlation_id": "abc-123", "u_custom": "x"}). Merged last, so it overrides the named parameters.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Move a ServiceNow change request to another state. Base-system change model states are -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled. The state machine rejects transitions whose conditions are not met.
Close code, required when moving to Closed (3): "successful", "successful_issues", or "unsuccessful".
closeNotes
string
No
Close notes describing the outcome of the change.
workNotes
string
No
Internal work note explaining the transition.
additionalFields
json
No
Any other ServiceNow fields to set, as a JSON object of raw column names (e.g., {"correlation_id": "abc-123", "u_custom": "x"}). Merged last, so it overrides the named parameters.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
List the change tasks belonging to a ServiceNow change request, via the Change Management API. Every field is returned as {value, display_value}, so a reference field carries both its sys_id and its label. This endpoint is not the Table API: the shape is fixed with no display-value option, and the results come back under tasks rather than the records the other list operations use.
Change tasks, under tasks rather than the records key the Table API list operations use. Each field is an object of the form {value, display_value} — the Change Management API fixes this shape, so unlike those operations there is no display-value setting. parent holds the owning change request.
Read the states a ServiceNow change request can actually move to next, with the instance's own state-to-label map and the conditions each transition still has to meet. Use this instead of assuming the base-system state codes, which a customized change model can change.
Every state coded value reachable from the change request, including its current state
allowedStates
array
The subset of state coded values whose transition currently reports transition_available, meaning the change request already meets that transition conditions
stateLabels
json
Map of state coded value to the label this instance uses, e.g. {'0': 'Review'}. Read the state model from here rather than assuming the base-system codes
stateTransitions
array
Available transitions, flattened from the per-target-state grouping ServiceNow returns. Empty for type-driven and legacy change requests, which do not report conditions
↳ sys_id
string
Sys_id of the state transition record on sttrm_state_transition
↳ display_value
string
Human-readable transition name, e.g. "Implement to Review"
↳ from_state
string
State coded value moved from
↳ to_state
string
State coded value moved to
↳ transition_available
boolean
Whether the change request can move to this state right now
↳ automatic_transition
boolean
Whether the change request moves to this state automatically
↳ conditions
array
Conditions gating the transition, each with whether it has passed
Browse or search the ServiceNow service catalog. Returns each item with its sys_id, name, description, type, category, and catalogs, which is what Order ServiceNow Catalog Item needs.
sys_id of the catalog item to order. Use List ServiceNow Catalog Items to find it.
quantity
number
No
Quantity to order. Must not be negative. Defaults to 1.
requestedFor
string
No
sys_id of the sys_user the item is ordered for. Ordering on behalf of another user is governed by the glide.sc.req_for.roles instance properties.
variables
json
No
Name-value pairs for the catalog item variables, as a JSON object (e.g., {"data_plan": "500MB"}). All variables the item marks mandatory must be supplied.
List requested items (RITMs) from the ServiceNow Requested Item [sc_req_item] table, optionally scoped to a parent request or a catalog item. To scope by requester, pass an encoded query against the parent request, for example "request.requested_for=<sys_id>".
sys_id of the parent request (sc_request) whose items should be listed.
catalogItemSysId
string
No
sys_id of the catalog item (cat_item) to filter by.
active
string
No
Restrict to active ("true") or inactive ("false") requested items.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Record sys_id. Provide either this or the record number.
number
string
No
Record number (e.g., INC0010001). Provide either this or the sys_id.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
List approval records from the ServiceNow Approval [sysapproval_approver] table. Defaults to the "requested" state, which is what a user's pending approvals look like.
sys_id of the approver (sys_user) whose approvals should be listed. Use Find ServiceNow User to resolve an email address to a sys_id.
state
string
No
Approval state: "requested" (pending, the default), "approved", or "rejected". Pass an empty string with a custom query to list every state.
approvalFor
string
No
sys_id of the record being approved, matched against the sysapproval reference field.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
sys_id of the approval record on the sysapproval_approver table. Use List ServiceNow Approvals to find it.
decision
string
Yes
Decision to record: "approved" or "rejected".
comments
string
No
Comment to record alongside the decision. This is a journal field.
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
inputDisplayValue
boolean
No
Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Search the ServiceNow CMDB for configuration items. Defaults to the base cmdb_ci table, which returns CIs of every class; pass a CI class to scope the search to a subclass such as cmdb_ci_linux_server.
CMDB class (table) to search, e.g., cmdb_ci_linux_server or cmdb_ci_app_server. Defaults to cmdb_ci, which covers every CI class.
name
string
No
Text to match against the CI name using the ServiceNow LIKE operator, which matches anywhere in the field.
operationalStatus
string
No
Operational status coded value (operational_status). The choice list is configured per instance.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Retrieve a configuration item and its CMDB relationships through the CMDB Instance API. Returns the CI attributes plus its inbound and outbound relations, each carrying the related CI and the relationship type.
CMDB class (table) the CI belongs to, e.g., cmdb_ci_linux_server. Read it from the sys_class_name field returned by Search ServiceNow Configuration Items.
List rows from the CI Relationship [cmdb_rel_ci] table for a configuration item. Each row carries the parent CI, the child CI, and the relationship type.
sys_id of the configuration item whose relationships should be listed.
direction
string
No
Which side of the relationship the CI sits on: "parent", "child", or "both" (default). "both" matches rows where the CI is either the parent or the child.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
Search ServiceNow knowledge base articles through the Knowledge Management API. Returns ranked results with a snippet and the article number, which Get ServiceNow Knowledge Article accepts to fetch the full body.
Matching knowledge articles, sorted in descending order by relevance score
↳ id
string
Table-prefixed article identifier, e.g. "kb_knowledge:9e528db1...". Get ServiceNow Knowledge Article takes a bare sys_id or KB number, so pass number or the portion after the colon rather than this value as-is
↳ number
string
Knowledge article number
↳ title
string
Article title (short description)
↳ snippet
string
Small excerpt of the article text
↳ link
string
Link to the article
↳ score
number
Relevancy score
↳ rank
number
Search rank of the article for this search
↳ fields
json
Requested kb_knowledge fields, each {name, label, type, value, display_value}
metadata
json
Operation metadata
↳ recordCount
number
Number of articles returned
↳ totalCount
number
Total number of available articles reported by ServiceNow
Look up ServiceNow users by email, user name, or display name. Use this to resolve the sys_id needed by reference fields such as caller_id, assigned_to, and approver.
Text to match against the display name using the ServiceNow LIKE operator, which matches anywhere in the field.
active
string
No
Restrict to active ("true") or inactive ("false") users.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}
List the members of a ServiceNow group from the Group Member [sys_user_grmember] table. Each row links a user to a group, so use it to find who can be assigned work for an assignment group.
sys_id of the sys_user_group whose members should be listed.
groupName
string
No
Exact group name, resolved against the referenced group record. Provide this or the group sys_id.
query
string
No
Additional ServiceNow encoded query, ANDed with the other filters (e.g., "opened_at>=javascript:gs.beginningOfLastMonth()").
limit
number
No
Maximum number of records to return (sysparm_limit). Omitting it sends no limit at all, and the Table API then applies its own default of 10,000 records, so always set it to what you will actually read.
offset
number
No
Number of records to skip for pagination (sysparm_offset).
fields
string
No
Comma-separated list of fields to return (e.g., number,short_description,state). Returns all fields when omitted.
displayValue
string
No
How reference and choice fields are returned: "all" (default — both the sys_id and the label, as {value, display_value}), "true" (labels only), or "false" (raw sys_ids and coded values only).
Attachment metadata list — record attachments (sys_id, file_name, content_type, download_link) or knowledge article attachments (sys_id, file_name, size_bytes, state)
file
file
Downloaded attachment file
content
string
HTML body of a knowledge article
attachment
json
Uploaded attachment metadata
tasks
json
Change tasks belonging to a change request. Unlike the Table API operations, the Change Management API always returns every field as {value, display_value} regardless of the display value setting
items
json
Service catalog items
articles
json
Knowledge article search results
attributes
json
Configuration item attributes
inboundRelations
json
Inbound CI relationships
outboundRelations
json
Outbound CI relationships
sysId
string
sys_id returned by the operation
number
string
Record number returned by the operation
requestNumber
string
Catalog request number
requestId
string
sys_id of the catalog request
table
string
Table the catalog request was created on
availableStates
json
State coded values a change request can reach, including its current state
allowedStates
json
State coded values whose transition conditions the change request already meets
stateLabels
json
This instance's own map of state coded value to label, e.g. {'0': 'Review'}