ServiceNow Object Retrieve Version 1

This handler allows the generic retrieval of a ServiceNow object when given a table and an id. Using the ServiceNow REST API and basic authentication, a URL is built up to retrieve a record from a table by its sys_id. If that REST call successfully finds the record attached to that Id, a JSON representation of the object will be returned as handler results.

Parameters

Name Description
Table The name of the table to retrieve info from (ie. change_request,incident, task,etc).
Id The id of the object to retrieve.

Sample Configuration

Name Description
Table incident
Id 85071a1347c12200e0ef563dbb9a71c1

Results

Name Description
Object JSON A JSON representation of the returned ServiceNow object

Changelog

ServiceNow Object Retrieve V1 (2017-09-14)

  • Initial version. See README for details.


Related Handlers

ServiceNow Change Retrieve
This handler allows you to retrieve a change request from Service Now.
ServiceNow Group Create
Creates a new Service Now user group.
ServiceNow Group Update
Updates an existing Service Now user group.
ServiceNow Incident Retrieve
This handler allows you to retrieve an incident from Service Now.
ServiceNow Incident Update
ServiceNow, update an incident.
ServiceNow Object Delete
Generically deletes an object from a ServiceNow table when given a table name and an id
ServiceNow Object Update
Generically updates an object in a ServiceNow table when given a table name, a id, and a JSON body containing the parts of the object that should be updated.
ServiceNow User Create
ServiceNow, create a new user.
ServiceNow User Retrieve
ServiceNow, retrieve a user id for system user.
ServiceNow User Update
ServiceNow, update an existing user.