Service Now: Requested Items
Summary
This module contains actions related to ServiceNow Requested Items.
Actions
service_now.requested_items.
get_by_number
Get a requested item by its number.
Minimum Plugin Version: 4.0.0
Input
-
access_details: an AccessDetails Dictionary
-
number: the requested item number to search for
Output
A single RequestedItem Dictionary.
Requested Item Numbers
ServiceNow requested item numbers are not unique by default, but for simplicity this action assumes they are.
If you do have shared requested item numbers, you can use the search action to get multiples.
Example
1 2 3 4 5 |
|
service_now.requested_items.
get_by_number_interactive
Interactively search for a requested item using the number field.
Minimum Plugin Version: 4.0.0
Input
- access_details: an AccessDetails Dictionary
Output
Example
1 2 3 4 |
|
service_now.requested_items.
search
Search for requested items. Supports multiple search fields and values.
Advanced search techniques & filters are not supported yet.
Each supplied field & value will be converted to field=value in the search query.
Minimum Plugin Version: 4.0.0
Input
-
access_details: an AccessDetails Dictionary
-
search_params: a dictionary containing Requested Item fields and values
Output
A list of RequestedItem Dictionaries.
Example
Searching for all active requested items.
1 2 3 4 5 |
|
service_now.requested_items.
update
Update a requested item using one or more sets of fields & values.
Minimum Plugin Version: 4.0.0
Input
-
access_details: an AccessDetails Dictionary
-
sys_id: the sys_id of the requested item to update
-
update_data: a dictionary containing Requested Item Dictionary fields and values
Output
The updated requested item as a RequestedItem Dictionary.
Example
Resolving requested item TEST-REQUESTED-ITEM with a comment and note.
1 2 3 4 5 6 7 8 9 |
|