ServiceNow Object Update VERSION 1


This handler allows you to generically update an existing object in a ServiceNow table by passing an id and the fields/values that should be updated on the object in a JSON body. Using the ServiceNow REST API and basic authentication, a URL and a PUT body are created using the inputted parameters which is then sent to ServiceNow. If the REST call is successful and the included id exists, the handler will complete and return an empty result set.


Parameters

NameDescription
TableThe name of the table to update the object in (ie. change_request,incident,task,etc).
IdThe id of the object to update.
JSON BodyThe JSON body containing the fields that should be updated.

Sample Configuration

NameDescription
Tableincident
Idea45634c4f5103004491b3728110c7ac
JSON Body{"short_description": "Changed the description"}

Results

This handler does not return any results.


Changelog

ServiceNow Object Update V1 (2017-09-14)

* Initial version. See README for details.