ServiceNow Object Create Version 1

This handler allows you to generically create a new object in a ServiceNow table by passing the fields/values of the object in a JSON body. Using the ServiceNow REST API and basic authentication, a URL and a POST body are are created using the inputted parameters which is then sent to ServiceNow. If the REST call is successful, the Id of the created object will be returned from the handler results.

Parameters

Name Description
Table The name of the table to create the object in (ie. change_request,incident, task,etc).
JSON Body The JSON body of the object to create.

Sample Configuration

Name Description
Table incident
JSON Body {"category": "Software", "short_description": "Test Incident"}

Results

Name Description
Id The id of the newly created object.

Changelog

ServiceNow Object Create 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 Retrieve
Generically retrieves 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.